public abstract class LLRPIoHandlerAdapter
extends org.apache.mina.core.service.IoHandlerAdapter
Constructor and Description |
---|
LLRPIoHandlerAdapter() |
Modifier and Type | Method and Description |
---|---|
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.
|
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
- Copyright © 2007 ETH Zurich.