com.ibm.datapower.wamt.amp
Class PingResponse

java.lang.Object
  extended by com.ibm.datapower.wamt.amp.PingResponse

public class PingResponse
extends java.lang.Object

This is the object that will be returned from Commands.pingDevice(DeviceContext, String). It will be constructed by that method, you need to use only the gettr methods.

See Also:
Commands.pingDevice(DeviceContext, String)

Field Summary
static java.lang.String COPYRIGHT_2009_2010
           
 
Constructor Summary
PingResponse(SubscriptionState subscriptionState)
          Create a new PingResponse object.
 
Method Summary
 SubscriptionState getSubscriptionState()
          Get the state of the subscription on the device.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT_2009_2010

public static final java.lang.String COPYRIGHT_2009_2010
See Also:
Constant Field Values
Constructor Detail

PingResponse

public PingResponse(SubscriptionState subscriptionState)
Create a new PingResponse object. In general, this should be invoked only by Commands.pingDevice(DeviceContext, String), so you do not need to invoke this explicitly.

Parameters:
subscriptionState - the state of the subscription to the device
Method Detail

getSubscriptionState

public SubscriptionState getSubscriptionState()
Get the state of the subscription on the device. Please see the further documentation in the javadoc for SubscriptionState.

Returns:
the state of the subscription on the device


© Copyright IBM Corp. 2006, 2010 All Rights Reserved.