org.fosstrak.llrp.adaptor.config
Class ReaderConfiguration

java.lang.Object
  extended by org.fosstrak.llrp.adaptor.config.ReaderConfiguration

public class ReaderConfiguration
extends java.lang.Object

a prototype holding all the settings needed for a reader.

Author:
sawielan

Constructor Summary
ReaderConfiguration(java.lang.String readerName, java.lang.String readerIp, int readerPort, boolean readerClientInitiated, boolean connectImmediately)
          constructor for the prototype.
 
Method Summary
 java.lang.String getReaderIp()
          returns the ip of the reader.
 java.lang.String getReaderName()
          returns the name of the reader.
 int getReaderPort()
          returns the port of the reader.
 boolean isConnectImmediately()
          flags whether this reader connects immediately after setup.
 boolean isReaderClientInitiated()
          flags whether this reader opens the connection or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReaderConfiguration

public ReaderConfiguration(java.lang.String readerName,
                           java.lang.String readerIp,
                           int readerPort,
                           boolean readerClientInitiated,
                           boolean connectImmediately)
constructor for the prototype.

Parameters:
readerName - the name of the reader.
readerIp - the ip of the reader.
readerPort - the port of the reader.
readerClientInitiated - flags whether this reader opens the connection or not.
connectImmediately - flags whether this reader connects immediately after setup.
Method Detail

getReaderName

public java.lang.String getReaderName()
returns the name of the reader.

Returns:
the name of the reader.

getReaderIp

public java.lang.String getReaderIp()
returns the ip of the reader.

Returns:
the ip of the reader.

getReaderPort

public int getReaderPort()
returns the port of the reader.

Returns:
the port of the reader.

isReaderClientInitiated

public boolean isReaderClientInitiated()
flags whether this reader opens the connection or not.

Returns:
whether this reader opens the connection or not.

isConnectImmediately

public boolean isConnectImmediately()
flags whether this reader connects immediately after setup.

Returns:
whether this reader connects immediately after setup.


Copyright © 2009. All Rights Reserved.