|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.adventnet.snmp.snmp2.SnmpTransportPacket
Class containing the options for the transport protocol used by the SNMP API.
Constructor Summary | |
SnmpTransportPacket()
Default constructor. |
|
SnmpTransportPacket(ProtocolOptions options,
byte[] data)
Constructor that initializes the ProtocolOptions and the data given as argument. |
Method Summary | |
byte[] |
getProtocolData()
Gets the SNMP message to be sent or received i.e. |
ProtocolOptions |
getProtocolOptions()
Gets the transport options configured in the Transport Packet. |
void |
setProtocolData(byte[] data)
Sets the protocol data on the SnmpTransportPacket |
void |
setProtocolOptions(ProtocolOptions options)
Sets the protocol options on the SnmpTransportPacket |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SnmpTransportPacket()
public SnmpTransportPacket(ProtocolOptions options, byte[] data)
options
- The protocol options .data
- The protocol data.Method Detail |
public void setProtocolOptions(ProtocolOptions options)
options
- protocol options to be set.public void setProtocolData(byte[] data)
data
- data to be set.public ProtocolOptions getProtocolOptions()
public byte[] getProtocolData()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |