HOME

com.ireasoning.protocol.snmp
Class MsgHeader

java.lang.Object
  extended bycom.ireasoning.protocol.snmp.MsgHeader
All Implemented Interfaces:
Serializable

public class MsgHeader
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
static byte AUTH_NO_PRIV
           
static byte AUTH_PRIV
           
static byte NO_AUTH_NO_PRIV
           
 
Constructor Summary
MsgHeader()
           
 
Method Summary
 int getMsgID()
           
 byte getSecurityLevel()
           
 int getSecurityModel()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NO_AUTH_NO_PRIV

public static final byte NO_AUTH_NO_PRIV
See Also:
Constant Field Values

AUTH_NO_PRIV

public static final byte AUTH_NO_PRIV
See Also:
Constant Field Values

AUTH_PRIV

public static final byte AUTH_PRIV
See Also:
Constant Field Values
Constructor Detail

MsgHeader

public MsgHeader()
Method Detail

getMsgID

public int getMsgID()

getSecurityLevel

public byte getSecurityLevel()
Returns:
one of { MsgHeader.NO_AUTH_NO_PRIV, MsgHeader.AUTH_NO_PRIV, MsgHeader.AUTH_PRIV}

getSecurityModel

public int getSecurityModel()
Returns:
one of {SnmpConst.V1_SECURITY_MODEL, SnmpConst.V2C_SECURITY_MODEL, SnmpConst.USM_SECURITY_MODEL}

toString

public String toString()

HOME

Copyright © 2002 iReasoning Inc. All Rights Reserved.