com.neeve.client.link
Class ClientLinkManagerEvent.LinkOpCompleteEventData

java.lang.Object
  extended by com.neeve.client.link.ClientLinkManagerEvent.LinkOpCompleteEventData
Direct Known Subclasses:
ClientLinkManagerEvent.LinkOpenCompleteEventData
Enclosing class:
ClientLinkManagerEvent

public static class ClientLinkManagerEvent.LinkOpCompleteEventData
extends Object

Data object indicating the status of the completion of a link related operation.

This class serves as the data object for the following events:
- ClientLinkManagerEvent.LINK_PARSE_SUCCESS
- ClientLinkManagerEvent.LINK_PARSE_FAIL


Field Summary
 String descriptor
          Contains the link descriptor.
 EClientLinkException e
          Contains the reason for the operation failure.
 boolean status
          Inidcates whether the operation was successful or not.
 
Constructor Summary
ClientLinkManagerEvent.LinkOpCompleteEventData(String descriptor, EClientLinkException e)
          Constructor.
 
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 operation was successful or not.


descriptor

public final String descriptor
Contains the link descriptor.


e

public final EClientLinkException e
Contains the reason for the operation failure.

This field contains an exception object that describes the reason for the failure of an operation. This field will be null in case the operation was successful.

Constructor Detail

ClientLinkManagerEvent.LinkOpCompleteEventData

public ClientLinkManagerEvent.LinkOpCompleteEventData(String descriptor,
                                                      EClientLinkException e)
Constructor.

Parameters:
descriptor - The link descriptor.
e - The reason for the failure if the operation failed. This parameter should be null in case the operation succeeded.
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.