com.bankframe.services.notification
Interface NodeFrame

All Known Implementing Classes:
SourceFrame, TargetFrame

public interface NodeFrame

Both the SourceFrame and TargetFrame implement this interface. Each of these Frames handle incoming NotificationEvents by creating a new instance of the WorkerThread object. The WorkerThread object needs to be able to update the View of the SourceFrame or the TargetFrame. The WorkerThread constructor takes a NodeFrame as a parameter and hence it is able to update the view: [SourceFrame | TargetFrame]. In summary, via this interface WorkerThread can be used to handle Notification Events received by a SourceFrame or a TargetFrame


Method Summary
 String getNodeType()
          Return the Node Type
 void updateView(Vector data)
          Update the view using the Vector of data supplied
 

Method Detail

updateView

void updateView(Vector data)
Update the view using the Vector of data supplied

Parameters:
data - Vector

getNodeType

String getNodeType()
Return the Node Type

Returns:
String


Copyright © 2005, 2007, Oracle. All rights reserved.