All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.network.snmp.ui.MessageObject
java.lang.Object
|
+----com.ibm.network.snmp.ui.MessageObject
- public class MessageObject
- extends Object
Message Object which contains all the data
to be sent as a part of Message.
- See Also:
- MessageEvent, MessageListener
-
MessageObject(String, String, String, String, String, String)
- The constructor for the Message Object
-
getAgentAddress()
- Get the Agent Address.
-
getCommunityName()
- Returns the Community Name.
-
getLongValue()
- Get Object Value if its a long.
-
getObjectIdentifier()
- Gets the Object Identifier.
-
getObjectType()
- Returns the Object Type as Byte.
-
getRequestID()
- Returns Request ID
-
getRequestType()
- Returns Request Type as byte
-
getStringValue()
- Object Value if its of type String
MessageObject
public MessageObject(String objName,
String agentName,
String commName,
String reqType,
String value,
String indexValue)
- The constructor for the Message Object
- Parameters:
- objName - - Name of Object selected.
- agentName - - Agent which is being managed.
- commName - - Community name.
- reqType - - Type of request for encoding.
- value - - Value of Object as string.
- indexValue - - "0" for this release
getAgentAddress
public String getAgentAddress()
- Get the Agent Address.
- Returns:
- AgentIPAddress
getCommunityName
public String getCommunityName()
- Returns the Community Name.
- Returns:
- CommunityName
getLongValue
public long getLongValue()
- Get Object Value if its a long.
- Returns:
- Object Value as a long
getObjectIdentifier
public String getObjectIdentifier()
- Gets the Object Identifier.
- Returns:
- Object Identifier
getObjectType
public byte getObjectType()
- Returns the Object Type as Byte.
- Returns:
- Object Type as Byte
getRequestID
public byte getRequestID()
- Returns Request ID
- Returns:
- RequestID as byte.
getRequestType
public byte getRequestType()
- Returns Request Type as byte
- Returns:
- Request Type as byte
getStringValue
public String getStringValue()
- Object Value if its of type String
- Returns:
- ObjectValue as String
All Packages Class Hierarchy This Package Previous Next Index