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

Constructor Index

 o MessageObject(String, String, String, String, String, String)
The constructor for the Message Object

Method Index

 o getAgentAddress()
Get the Agent Address.
 o getCommunityName()
Returns the Community Name.
 o getLongValue()
Get Object Value if its a long.
 o getObjectIdentifier()
Gets the Object Identifier.
 o getObjectType()
Returns the Object Type as Byte.
 o getRequestID()
Returns Request ID
 o getRequestType()
Returns Request Type as byte
 o getStringValue()
Object Value if its of type String

Constructors

 o 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

Methods

 o getAgentAddress
 public String getAgentAddress()
Get the Agent Address.

Returns:
AgentIPAddress
 o getCommunityName
 public String getCommunityName()
Returns the Community Name.

Returns:
CommunityName
 o getLongValue
 public long getLongValue()
Get Object Value if its a long.

Returns:
Object Value as a long
 o getObjectIdentifier
 public String getObjectIdentifier()
Gets the Object Identifier.

Returns:
Object Identifier
 o getObjectType
 public byte getObjectType()
Returns the Object Type as Byte.

Returns:
Object Type as Byte
 o getRequestID
 public byte getRequestID()
Returns Request ID

Returns:
RequestID as byte.
 o getRequestType
 public byte getRequestType()
Returns Request Type as byte

Returns:
Request Type as byte
 o getStringValue
 public String getStringValue()
Object Value if its of type String

Returns:
ObjectValue as String

All Packages  Class Hierarchy  This Package  Previous  Next  Index