|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.llrp.ltk.net.LLRPProtocolCodecFactory
public class LLRPProtocolCodecFactory
Codec Factory for LLRP protocol
Field Summary | |
---|---|
static int |
BINARY_ENCODING
|
Constructor Summary | |
---|---|
LLRPProtocolCodecFactory(int type)
LLRPProtocolCodecFactory supports a single encoder/decoder type only: The binary message binding in the LLRP specification. |
Method Summary | |
---|---|
org.apache.mina.filter.codec.ProtocolDecoder |
getDecoder()
get protocol decoder. |
org.apache.mina.filter.codec.ProtocolDecoder |
getDecoder(org.apache.mina.common.IoSession session)
get protocol decoder for session specified. |
org.apache.mina.filter.codec.ProtocolEncoder |
getEncoder()
get protocol encoder. |
org.apache.mina.filter.codec.ProtocolEncoder |
getEncoder(org.apache.mina.common.IoSession session)
get protocol encoder for session specified. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int BINARY_ENCODING
Constructor Detail |
---|
public LLRPProtocolCodecFactory(int type)
type
- Codec to be used (currently only LLRPProtocolCodecFactory.BINARY_ENCODING is supported)Method Detail |
---|
public org.apache.mina.filter.codec.ProtocolDecoder getDecoder(org.apache.mina.common.IoSession session) throws java.lang.Exception
session
-
java.lang.Exception
public org.apache.mina.filter.codec.ProtocolEncoder getEncoder(org.apache.mina.common.IoSession session) throws java.lang.Exception
session
-
java.lang.Exception
public org.apache.mina.filter.codec.ProtocolDecoder getDecoder() throws java.lang.Exception
getDecoder
in interface org.apache.mina.filter.codec.ProtocolCodecFactory
java.lang.Exception
public org.apache.mina.filter.codec.ProtocolEncoder getEncoder() throws java.lang.Exception
getEncoder
in interface org.apache.mina.filter.codec.ProtocolCodecFactory
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |