org.fosstrak.llrp.adaptor.queue
Class QueueEntry

java.lang.Object
  extended by org.fosstrak.llrp.adaptor.queue.QueueEntry

public class QueueEntry
extends java.lang.Object

data structure to store enqueue an LLRPMessage.

Author:
sawielan

Constructor Summary
QueueEntry(org.llrp.ltk.types.LLRPMessage message, java.lang.String readerName, java.lang.String adaptorName)
          creates a new queue item for an llrp message.
 
Method Summary
 java.lang.String getAdaptorName()
          returns the name of the adaptor that will either receive or read the message.
 org.llrp.ltk.types.LLRPMessage getMessage()
          returns the stored message.
 java.lang.String getReaderName()
          returns the reader name that either read or will receive the message.
 void setAdaptorName(java.lang.String adaptorName)
          sets the name of the adaptor that will either receive or read the message.
 void setMessage(org.llrp.ltk.types.LLRPMessage message)
          sets the message in the datastructure.
 void setReaderName(java.lang.String readerName)
          sets the name of the reader that will either receive or read the message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueueEntry

public QueueEntry(org.llrp.ltk.types.LLRPMessage message,
                  java.lang.String readerName,
                  java.lang.String adaptorName)
creates a new queue item for an llrp message.

Parameters:
message - the llrp message.
readerName - the reader that will receive or read the message.
adaptorName - the adaptor name that will receive or read the message.
Method Detail

getMessage

public org.llrp.ltk.types.LLRPMessage getMessage()
returns the stored message.

Returns:
the stored message.

setMessage

public void setMessage(org.llrp.ltk.types.LLRPMessage message)
sets the message in the datastructure.

Parameters:
message - an LLRPMessage to set.

getReaderName

public java.lang.String getReaderName()
returns the reader name that either read or will receive the message.

Returns:
the reader name that either read or will receive the message.

setReaderName

public void setReaderName(java.lang.String readerName)
sets the name of the reader that will either receive or read the message.

Parameters:
readerName - the name of the reader that will either receive or read the message.

getAdaptorName

public java.lang.String getAdaptorName()
returns the name of the adaptor that will either receive or read the message.

Returns:
the name of the adaptor that will either receive or read the message.

setAdaptorName

public void setAdaptorName(java.lang.String adaptorName)
sets the name of the adaptor that will either receive or read the message.

Parameters:
adaptorName - the name of the adaptor that will either receive or read the message.


Copyright © 2009. All Rights Reserved.