|
AdventNet WiFi Mediation API, v1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.adventnet.wifi.mediation.SNMPCredentials
Class holding the SNMP related properties,which are used for fetching information from the device or to configure the device using SNMP.
Device| Field Summary | |
static int |
SNMP_PORT
Constant to represent the SNMP PORT. |
static int |
SNMP_RETRIES
Constant to represent the SNMP retries. |
static int |
SNMP_TIMEOUT
Constant to represent the SNMP time out. |
static int |
SNMP_v1
Constant representing SNMP protocol version 1. |
static int |
SNMP_v2c
Constant representing SNMP protocol version v2c. |
static int |
SNMP_VERSION
Constant to represent the SNMP protocol version. |
| Constructor Summary | |
SNMPCredentials(int port,
java.lang.String readCommunity)
Constructs a SNMPCredentials with the given port and community strings. |
|
SNMPCredentials(int port,
java.lang.String readCommunity,
java.lang.String writeCommunity)
Constructs a SNMPCredentials with the given port and community strings. |
|
| Method Summary | |
int |
getInterPacketDelay()
|
int |
getPort()
Returns the port in which the SNMP service is running. |
java.lang.String |
getReadCommunity()
Returns the read community of the SNMP protocol used to communicate to the device. |
int |
getTimeout()
Fetches the Request timeout in millisecond. |
int |
getVersion()
Returns the version of the SNMP protocol to be used for communication with the device. |
java.lang.String |
getWriteCommunity()
Returns the write community of the SNMP protocol, this write community is primarily used during configuration of the device to set values in the device. |
void |
setInterPacketDelay(int delay)
|
void |
setPort(int port)
API to specify the port in which the SNMP service is running. |
void |
setReadCommunity(java.lang.String readCommunity)
Sets the read community of the SNMP protocol to be used to communicate to the device. |
void |
setTimeout(int timeout)
Sets the request timeout in millisecond. |
void |
setVersion(int version)
Sets the version of the SNMP protocol to be used for communication with the device. |
void |
setWriteCommunity(java.lang.String writeCommunity)
Sets the write community of the SNMP protocol, this write community is primarily used during configuration of the device to set values in the device. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static int SNMP_PORT
public static final int SNMP_v1
public static final int SNMP_v2c
public static int SNMP_VERSION
public static int SNMP_RETRIES
public static int SNMP_TIMEOUT
| Constructor Detail |
public SNMPCredentials(int port,
java.lang.String readCommunity)
port - the port at which the SNMP Service is running
in the device.readCommunity - the community string which is used to read data from
the device.
public SNMPCredentials(int port,
java.lang.String readCommunity,
java.lang.String writeCommunity)
port - the port at which the SNMP Service is running
in the device.readCommunity - the community string which is used to read data from
the device.writeCommunity - the community string which is used during device
configuration.| Method Detail |
public int getPort()
public void setPort(int port)
port - the port in which the SNMP service is running.public int getVersion()
public void setVersion(int version)
version - the version of the SNMP protocol to be used.public int getTimeout()
public void setTimeout(int timeout)
timeout - the request timeout value in millisecond.public void setInterPacketDelay(int delay)
public int getInterPacketDelay()
public void setReadCommunity(java.lang.String readCommunity)
readCommunity - the community of the SNMP protocol to be used.public java.lang.String getReadCommunity()
public void setWriteCommunity(java.lang.String writeCommunity)
writeCommunity - the write communitypublic java.lang.String getWriteCommunity()
|
AdventNet WiFi Mediation API, v1.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||