com.eurotech.framework.data
Class DataTransportToken

java.lang.Object
  extended by com.eurotech.framework.data.DataTransportToken

public class DataTransportToken
extends Object

DataTransportToken is an receipt returned by the DataTransportService after the publishing of a message. Such receipt can be used to track and compare subsequence message confirmation callbacks.


Constructor Summary
DataTransportToken(int messageId, String sessionId)
           
 
Method Summary
 boolean equals(Object obj)
           
 int getMessageId()
           
 String getSessionId()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataTransportToken

public DataTransportToken(int messageId,
                          String sessionId)
Method Detail

getMessageId

public int getMessageId()

getSessionId

public String getSessionId()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2013. All Rights Reserved.