Package com.crankuptheamps.client

This package contains the AMPS Java client.

See:
          Description

Interface Summary
Authenticator  
BlockPublishStore.Buffer  
BookmarkStore  
BookmarkStoreResizeHandler  
ClientDisconnectHandler  
ClientDisconnectHandler2  
ConnectionStateListener An interface that allows an application to be notified when the client connects or disconnects to an AMPS server.
FailedWriteHandler An interface for receiving information on messages that you've written, but for which the server indicates were not persisted.
MessageHandler Interface for classes the handle AMPS messages.
Protocol  
ProtocolParser  
PublishStoreResizeHandler  
ServerChooser Interface for choosing amongst multiple instances for both initial connection and reconnection.
Store Represents a message store.
Store.StoreReplayer Replay the messages saved in a store.
Subscription  
SubscriptionManager  
Transport  
TransportDisconnectHandler  
TransportFilter Filter raw incoming and outgoing data on a Transport.
 

Class Summary
ArrayStoreBuffer ArrayStoreBuffer is a simple wrapper for a java array that maintains position.
BlockPublishStore  
BlockPublishStore.ByteSequence  
BookmarkRingBuffer A ring buffer of bookmarks and activation status Used by all of the bookmark stores to track state of bookmarks we need to hold on to, either because they're active or because they're after an active one.
Client The base AMPS client object used in AMPS applications.
Client.Bookmarks Functions that take a bookmark (String) such as Client.bookmarkSubscribe(com.crankuptheamps.client.MessageHandler, java.lang.String, java.lang.String, com.crankuptheamps.client.CommandId, java.lang.String, java.lang.String, long) can be passed a literal bookmark ID, or one of these special values.
Client.Version  
Command Command is an encapsulation of a single AMPS command sent by the client.
CommandId  
ConnectionInfo A Key, Value mapping for metadata about the state of an AMPS connection.
DefaultAuthenticator  
DefaultBookmarkStore  
DefaultDisconnectHandler  
DefaultMessageHandler  
DefaultServerChooser A simple ServerChooser that keeps a list of AMPS instances and Authenticators, and advances to the next one when failure occurs.
DefaultSubscriptionManager  
DefaultTransportFilter The DefaultTransportFilter is a no-op Filter.
FIXBuilder  
FIXMessage  
FIXProtocol  
FIXProtocolParser  
FIXShredder  
Functor  
HAClient A highly-available AMPS Client object that automatically reconnects and re-subscribes to AMPS instances upon disconnect.
HAClient.HADisconnectHandler  
HybridPublishStore PublishStore that stores first in memory, and swaps excess out to disk.
JSONMessage  
JSONProtocol  
JSONProtocolParser  
LoggedBookmarkStore LoggedBookmarkStore implements a sequentially written log of incoming and discarded messages.
MemoryBookmarkStore Implements a bookmark store useful for handling server failover scenarios, but without a backing store to recover from subscriber failure.
MemoryPublishStore A PublishStore used to remember things you've published, in case of failover to an AMPS secondary.
MemoryStoreBuffer  
MemorySubscriptionManager  
Message  
Message.AckType  
Message.Command  
Message.Options Represents the options for an AMPS command.
Message.Reason  
Message.Status  
MessageRouter MessageRouter is used to register and manage a list of handler objects for messages, and then to route messages to those handlers as messages arrive.
MessageStream MessageStream provides an iteration abstraction over the results of an AMPS command such as a subscribe, a SOW query, or SOW delete.
NVFIXBuilder  
NVFIXMessage  
NVFIXProtocol  
NVFIXProtocolParser  
NVFIXShredder  
Pool<T> A simple generic instance pool for objects that take a while to construct.
ProtocolFactory  
PublishStore PublishStore is a memory-mapped file-backed store for storing outgoing messages.
RingBookmarkStore RingBookmarkStore is an implementation of BookmarkStore that stores state on disk and in memory.
TCPTransport  
TCPTransportImpl  
TransportFactory  
TransportTraceFilter An implementation of TransportFilter for tracing message bytes to an OutputStream such as System.err.
URIProperties Provides a Properties-sytle interface to the parameters in a URI.
Utilities  
XMLMessage  
XMLProtocol  
XMLProtocolParser  
 

Package com.crankuptheamps.client Description

This package contains the AMPS Java client.