|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object fulmine.event.AbstractEvent fulmine.event.system.AbstractSystemEvent fulmine.distribution.events.ConnectionAvailableEvent
public final class ConnectionAvailableEvent
A system event raised by an IConnection
implementation and includes
the connection to the remote IFrameworkContext
that is available for
use.
Constructor Summary | |
---|---|
ConnectionAvailableEvent(IEventManager context,
IConnection connection)
Standard constructor to encapsulate the available connection to a remote IFrameworkContext |
Method Summary | ||
---|---|---|
protected String |
getAdditionalToString()
Delegate method for subclasses to provide additional toString information. |
|
|
getConnection()
Get the connection to the remote IFrameworkContext |
|
String |
toDetailedString()
Provides a formatted string describing this object in detail. |
|
String |
toIdentityString()
Get a string that provides the identification for this object. |
Methods inherited from class fulmine.event.system.AbstractSystemEvent |
---|
hideSourceFromToString |
Methods inherited from class fulmine.event.AbstractEvent |
---|
clone, equals, getAddress, getDomain, getDrivingFrame, getFrame, getIdentity, getSource, getTriggerEvent, getType, hashCode, setAddress, setDrivingFrame, setFrame, setSource, setTriggerEvent, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface fulmine.event.IEvent |
---|
clone, getDrivingFrame, getFrame, getSource, getTriggerEvent, setTriggerEvent |
Methods inherited from interface fulmine.IAddressable |
---|
getAddress, getDomain, getIdentity, getType |
Constructor Detail |
---|
public ConnectionAvailableEvent(IEventManager context, IConnection connection)
IFrameworkContext
context
- the context for event operationsconnection
- the available connection to a remote contextMethod Detail |
---|
public <T extends IConnection> T getConnection()
IFrameworkContext
T
- an IConnection
type
public String toDetailedString()
IDescriptor
Object.toString()
method.
toDetailedString
in interface IDescriptor
toDetailedString
in class AbstractEvent
public String toIdentityString()
IDescriptor
Object.toString()
method.
toIdentityString
in interface IDescriptor
toIdentityString
in class AbstractEvent
protected String getAdditionalToString()
AbstractEvent
getAdditionalToString
in class AbstractSystemEvent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |