|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.datapower.wamt.amp.DeviceContext
public class DeviceContext
This provides the information/context necessary to identify a particular
DataPower device for communicating with it, and have the authentication or
other data necessary to connect to it. This should provide the context to
invoke methods in Commands
.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT_2009_2010
|
Constructor Summary | |
---|---|
DeviceContext(java.lang.String hostname,
int ampPort,
java.lang.String userid,
java.lang.String password)
Create a new DeviceContext object. |
Method Summary | |
---|---|
int |
getAMPPort()
Get the device's port for AMP commands. |
java.lang.String |
getHostname()
Get the device's hostname or IP address from this context. |
java.lang.String |
getPassword()
Get the device's password for the administrative userid id from this context. |
java.lang.String |
getUserId()
Get the device's administrative userid from this context. |
java.lang.String |
toString()
Get a String representation of this object for the purpose of debugging and tracing. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT_2009_2010
Constructor Detail |
---|
public DeviceContext(java.lang.String hostname, int ampPort, java.lang.String userid, java.lang.String password)
hostname
- the hostname or IP address of the deviceampPort
- the device's port to connect to for AMP commands (XML
Management Interface that has the AMP endpoint enabled). AMP is
the Appliance Management Protocol.userid
- the device's administrative userid to execute AMP commandspassword
- the password for the above administrative useridMethod Detail |
---|
public java.lang.String getHostname()
public int getAMPPort()
public java.lang.String getUserId()
getPassword()
public java.lang.String getPassword()
getUserId()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |