|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.snmp4j.transport.DefaultTcpTransportMapping.SnmpMesssageLengthDecoder
public static class DefaultTcpTransportMapping.SnmpMesssageLengthDecoder
| Constructor Summary | |
|---|---|
DefaultTcpTransportMapping.SnmpMesssageLengthDecoder()
|
|
| Method Summary | |
|---|---|
MessageLength |
getMessageLength(java.nio.ByteBuffer buf)
Returns the total message length to read (including header) and the actual header length. |
int |
getMinHeaderLength()
Returns the minimum length of the header to be decoded. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultTcpTransportMapping.SnmpMesssageLengthDecoder()
| Method Detail |
|---|
public int getMinHeaderLength()
MessageLengthDecoder
getMinHeaderLength in interface MessageLengthDecoder
public MessageLength getMessageLength(java.nio.ByteBuffer buf)
throws java.io.IOException
MessageLengthDecoder
getMessageLength in interface MessageLengthDecoderbuf - a ByteBuffer with a minimum of MessageLengthDecoder.getMinHeaderLength().
java.io.IOException - if the header cannot be decoded.
|
Copyright 2003-2009 Frank Fock and Jochen Katz (SNMP4J.org) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||