|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.neeve.link.LnkEvents.ConnectAcceptCompleteEventData
public static class LnkEvents.ConnectAcceptCompleteEventData
Data object for the LnkEvents.EVENT_CONNECT_COMPLETE
and the
LnkEvents.EVENT_ACCEPT_COMPLETE
event types.
Field Summary | |
---|---|
ELnkOpFailedException |
e
Reason the establishment/acceptance failed. |
ILnkPeerEndpoint |
pep
The peer endpoint to be used for packet exchange with the remote peer. |
boolean |
status
Inidcates whether the connection establishment/acceptance was successful or not. |
Constructor Summary | |
---|---|
LnkEvents.ConnectAcceptCompleteEventData(ELnkOpFailedException e)
Constructor for failure event. |
|
LnkEvents.ConnectAcceptCompleteEventData(ILnkPeerEndpoint pep)
Constructor for success event. |
|
LnkEvents.ConnectAcceptCompleteEventData(LnkEvents.ConnectAcceptCompleteEventData eventData)
Constructor from another ConnectAcceptCompleteEventData object |
Method Summary | |
---|---|
String |
toString()
Get a string representation of the object |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final boolean status
public final ILnkPeerEndpoint pep
Contains a peer endpoint using which the user can exchange packets with the other peer of the accepted link. This field is non-null if and only if the link connection establishment/acceptance was successful.
public final ELnkOpFailedException e
Contains an exception object that describes the reason for a failed connection establishment/acceptance. This field is non-null if and only if the link connection establishment/acceptance failed.
Constructor Detail |
---|
public LnkEvents.ConnectAcceptCompleteEventData(ILnkPeerEndpoint pep)
public LnkEvents.ConnectAcceptCompleteEventData(ELnkOpFailedException e)
public LnkEvents.ConnectAcceptCompleteEventData(LnkEvents.ConnectAcceptCompleteEventData eventData)
Method Detail |
---|
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |