|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jpragma.snmp.asn.AsnObject
com.jpragma.snmp.asn.AsnSequence
com.jpragma.snmp.types.Message
public class Message
RFC 1157.
-- top-level message
Message ::=
SEQUENCE {
version -- version-1 for this RFC
INTEGER {
version-1(0)
},
community -- community name
OCTET STRING,
data -- e.g., PDUs if trivial
ANY -- authentication is being used
}
| Field Summary |
|---|
| Fields inherited from class com.jpragma.snmp.asn.AsnSequence |
|---|
TAG_NUMBER |
| Constructor Summary | |
|---|---|
Message()
|
|
Message(BerTlv tlv)
|
|
Message(int version,
java.lang.String community,
AbstractPDU pdu)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getComunity()
|
AbstractPDU |
getPDU()
|
int |
getVersion()
|
java.lang.String |
toString()
|
| Methods inherited from class com.jpragma.snmp.asn.AsnSequence |
|---|
add, add, get, getValue, setValue, setValue, toBerTlv, toBerTlv |
| Methods inherited from class com.jpragma.snmp.asn.AsnObject |
|---|
equals, getInstance |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Message()
public Message(int version,
java.lang.String community,
AbstractPDU pdu)
public Message(BerTlv tlv)
| Method Detail |
|---|
public int getVersion()
public java.lang.String getComunity()
public AbstractPDU getPDU()
public java.lang.String toString()
toString in class AsnSequence
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||