com.neeve.link
Class LnkEvents.ConnectAcceptCompleteEventData

java.lang.Object
  extended by com.neeve.link.LnkEvents.ConnectAcceptCompleteEventData
Direct Known Subclasses:
LnkEvents.ContinuousAcceptCompleteEventData, LnkEvents.ContinuousConnectCompleteEventData
Enclosing class:
LnkEvents

public static class LnkEvents.ConnectAcceptCompleteEventData
extends Object

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

status

public final boolean status
Inidcates whether the connection establishment/acceptance was successful or not.


pep

public final ILnkPeerEndpoint pep
The peer endpoint to be used for packet exchange with the remote peer.

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.


e

public final ELnkOpFailedException e
Reason the establishment/acceptance failed.

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

LnkEvents.ConnectAcceptCompleteEventData

public LnkEvents.ConnectAcceptCompleteEventData(ILnkPeerEndpoint pep)
Constructor for success event.


LnkEvents.ConnectAcceptCompleteEventData

public LnkEvents.ConnectAcceptCompleteEventData(ELnkOpFailedException e)
Constructor for failure event.


LnkEvents.ConnectAcceptCompleteEventData

public LnkEvents.ConnectAcceptCompleteEventData(LnkEvents.ConnectAcceptCompleteEventData eventData)
Constructor from another ConnectAcceptCompleteEventData object

Method Detail

toString

public String toString()
Get a string representation of the object

Overrides:
toString in class Object


Copyright © 2015 Neeve Research, LLC. All Rights Reserved.