com.crankuptheamps.client
Class ConnectionInfo

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<String,Object>
          extended by com.crankuptheamps.client.ConnectionInfo
All Implemented Interfaces:
Serializable, Cloneable, Map<String,Object>

public class ConnectionInfo
extends HashMap<String,Object>

A Key, Value mapping for metadata about the state of an AMPS connection. Valid keys include:

      client.uri                      The URI this client is connected to, NULL if no connection has been attempted.
      client.name                     The name of this client.
      client.username                 The most recently-used username for this client.  NULL if no username is supplied.
      publishStore.unpersistedCount   The count of unpersisted messages in the local store.  NULL if no PublishStore has been set on the client.
      haClient.reconnectDelay         The delay between reconnect attempts.  NULL for non-HA clients.
      haClient.timeout                The default timeout used when re-logging on.  NULL for non-HA clients.
 

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Field Summary
static long serialVersionUID
           
 
Constructor Summary
ConnectionInfo()
           
 
Method Summary
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

ConnectionInfo

public ConnectionInfo()