public abstract class SnmpTargetBase extends Object implements SnmpTarget
SnmpTarget
implementations.Constructor and Description |
---|
SnmpTargetBase() |
Modifier and Type | Method and Description |
---|---|
String |
getAddress()
Gets the network address of the targeted agent.
|
int |
getPort()
Gets the network port of the targeted agent.
|
Map<String,Object> |
getProperties()
Gets a map of provider-specific properties for the target.
|
void |
setAddress(String address)
Sets the
address property. |
void |
setPort(int port)
Sets the
port property. |
void |
setProperties(Map<String,Object> properties)
Sets the
properties property. |
String |
toString() |
public String getAddress()
getAddress
in interface SnmpTarget
public void setAddress(String address)
address
property.address
- the value to setpublic int getPort()
getPort
in interface SnmpTarget
public void setPort(int port)
port
property.port
- the value to setpublic Map<String,Object> getProperties()
getProperties
in interface SnmpTarget
public void setProperties(Map<String,Object> properties)
properties
property.properties
- the value to setCopyright © 2012–2015. All rights reserved.