|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mina.common.IoHandlerAdapter
org.llrp.ltk.net.LLRPIoHandlerAdapter
public abstract class LLRPIoHandlerAdapter
LLRPIoHandlerAdapter defines abstract methods that need to be implemented by any LLRPIoHandlerAdaptor implementation in addition to the methods defined by the Apache MINA IoHandler interface.
Constructor Summary | |
---|---|
LLRPIoHandlerAdapter()
|
Method Summary | |
---|---|
abstract LLRPConnection |
getConnection()
gets connection on which handler is operating |
abstract java.util.concurrent.BlockingQueue<ConnectionAttemptEvent> |
getConnectionAttemptEventQueue()
returns queue with all incoming ConnectionAttemptEvent parameters which were embedded in READER_NOTIFICATION messages. |
abstract java.util.concurrent.BlockingQueue<LLRPMessage> |
getSynMessageQueue()
returns queue of all incoming messages where the messages type is equal to the one specified in the IoSession parameter LLRPConnection.SYNC_MESSAGE_ANSWER. |
abstract boolean |
isKeepAliveAck()
returns true if incoming KEEP_ALIVE messages are being acknowledged. |
abstract boolean |
isKeepAliveForward()
returns true if incoming KEEP_ALIVE messages are being forwarded to the LLRPEndpoint. |
abstract void |
setConnection(LLRPConnection connection)
sets connection on which handler is operating |
abstract void |
setKeepAliveAck(boolean keepAliveAck)
set whether incoming KEEP_ALIVE messages should be acknowledged. |
abstract void |
setKeepAliveForward(boolean keepAliveForward)
set whether incoming KEEP_ALIVE messages are being forwarded to the LLRPEndpoint. |
Methods inherited from class org.apache.mina.common.IoHandlerAdapter |
---|
exceptionCaught, messageReceived, messageSent, sessionClosed, sessionCreated, sessionIdle, sessionOpened |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LLRPIoHandlerAdapter()
Method Detail |
---|
public abstract boolean isKeepAliveAck()
public abstract void setKeepAliveAck(boolean keepAliveAck)
keepAliveAck
- true if KEEP_ALIVE messages are to be acknowledgedpublic abstract boolean isKeepAliveForward()
public abstract void setKeepAliveForward(boolean keepAliveForward)
keepAliveForward
- true if KEEP_ALIVE messages are to be forwardedpublic abstract java.util.concurrent.BlockingQueue<LLRPMessage> getSynMessageQueue()
public abstract java.util.concurrent.BlockingQueue<ConnectionAttemptEvent> getConnectionAttemptEventQueue()
public abstract LLRPConnection getConnection()
public abstract void setConnection(LLRPConnection connection)
connection
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |