com.ireasoning.protocol
Class Target
java.lang.Object
|
+--com.ireasoning.protocol.Target
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- SnmpTarget
- public abstract class Target
- extends Object
- implements Serializable
This class describes agent's properties
- See Also:
- Serialized Form
Field Summary |
protected String |
_host
Host name or ip address |
protected int |
_port
Port number |
Constructor Summary |
protected |
Target()
Constructs a Target instance |
_host
protected String _host
- Host name or ip address
_port
protected int _port
- Port number
Target
protected Target()
- Constructs a Target instance
getHost
public String getHost()
- Returns the host name or ip address
setHost
public void setHost(String host)
- Sets a new host
- Parameters:
host
- host name or ip address
getPort
public int getPort()
- Returns the port number
setPort
public void setPort(int port)
- Sets port number
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2002 iReasoning Inc. All Rights Reserved.