cvm.ncb.handlers.event
Class ConnectionCreatedReply_Event

java.lang.Object
  extended by java.util.EventObject
      extended by cvm.model.Handles_Event
          extended by cvm.ncb.handlers.event.ConnectionCreatedReply_Event
All Implemented Interfaces:
java.io.Serializable

public class ConnectionCreatedReply_Event
extends Handles_Event

This class will represent an event coming from NCB that encapsulate the reply of the create connection request

Author:
Guangqiang Zhao
See Also:
Serialized Form

Constructor Summary
ConnectionCreatedReply_Event(java.lang.Object eventSource, boolean notifyConnectionReply)
          The constructor
 
Method Summary
 boolean getNotifyConnection()
          This method returns whether the connection is created successfully or not
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConnectionCreatedReply_Event

public ConnectionCreatedReply_Event(java.lang.Object eventSource,
                                    boolean notifyConnectionReply)
The constructor

Parameters:
eventSource - the object that fires this event
notifyConnectionReply - containing the result of the create connection request
Method Detail

getNotifyConnection

public boolean getNotifyConnection()
This method returns whether the connection is created successfully or not

Returns:
the result of the create connection request