- Cancel - Static variable in class com.crankuptheamps.client.Message.Options
-
Constant string for the cancel
option, used
when acknowledging (sow_delete
) a leased message
to return the message to the queue rather than acknowledging
the message as processed.
- capacity() - Method in class com.crankuptheamps.client.BookmarkRingBuffer
-
Size of underlying array.
- CharsetName - Static variable in class com.crankuptheamps.client.FIXProtocol
-
The character set used to encode and decode messages sent via FIX.
- checkResize() - Method in class com.crankuptheamps.client.BookmarkRingBuffer
-
Called to see if resize can proceed.
- clear() - Method in class com.crankuptheamps.client.CompositeMessageBuilder
-
Clears this object.
- clear() - Method in class com.crankuptheamps.client.DefaultSubscriptionManager
-
- clear() - Method in class com.crankuptheamps.client.FIXBuilder
-
Clears self.
- clear() - Method in class com.crankuptheamps.client.MemorySubscriptionManager
-
- clear() - Method in class com.crankuptheamps.client.MessageRouter
-
Removes all routes from self.
- clear() - Method in class com.crankuptheamps.client.NVFIXBuilder
-
Clears the current builder, resetting it to empty.
- clear() - Method in interface com.crankuptheamps.client.SubscriptionManager
-
Clears the subscriptions so they cannot be re-subscribed upon reconnect.
- Client - Class in com.crankuptheamps.client
-
The base AMPS client object used in AMPS applications.
- Client(String) - Constructor for class com.crankuptheamps.client.Client
-
Creates a client.
- Client(String, int) - Constructor for class com.crankuptheamps.client.Client
-
Creates a client.
- Client(String, Transport) - Constructor for class com.crankuptheamps.client.Client
-
Creates a client with a transport.
- Client(String, Transport, int) - Constructor for class com.crankuptheamps.client.Client
-
Creates a client with a transport
- Client.Bookmarks - Class in com.crankuptheamps.client
-
Provides constants for special bookmark values.
- Client.Bookmarks() - Constructor for class com.crankuptheamps.client.Client.Bookmarks
-
- Client.Version - Class in com.crankuptheamps.client
-
Class that holds supported versions of AMPS, those are: AMPS version 3, AMPS version 4 and
AMPS version 5.
- Client.Version() - Constructor for class com.crankuptheamps.client.Client.Version
-
- ClientDisconnectHandler - Interface in com.crankuptheamps.client
-
Called in
Client
when the Client unintentionally disconnects
from AMPS.
- ClientDisconnectHandler2 - Interface in com.crankuptheamps.client
-
60East recommends using the HAClient, which includes a robust implementation of disconnect handling
and reconnection, unless your application has needs that cannot be met by the HAClient behavior.
- ClientVersion - Class in com.crankuptheamps.client
-
Used to indicate the version of this client build outside of JAR manifest
files (which can be lost due to repackaging in cases such as "fat JARs").
- ClientVersion() - Constructor for class com.crankuptheamps.client.ClientVersion
-
- clone() - Method in class com.crankuptheamps.client.fields.BookmarkField
-
Provides a way to duplicate this object and retain its specific type (and hashcode() implementation).
- clone() - Method in class com.crankuptheamps.client.HashBox
-
- close() - Method in class com.crankuptheamps.client.Client
-
Disconnect from the AMPS server.
- close() - Method in class com.crankuptheamps.client.LoggedBookmarkStore
-
Closes the bookmark store.
- close() - Method in class com.crankuptheamps.client.MemoryBookmarkStore
-
- close() - Method in class com.crankuptheamps.client.MessageStream
-
Closes this MessageStream, unsubscribing from AMPS if applicable.
- close() - Method in class com.crankuptheamps.client.PublishStore
-
Closes the memory mapped file.
- close() - Method in class com.crankuptheamps.client.RingBookmarkStore
-
In order to unmap the memory used to store the state, this method closes the mapped byte
buffer.
- close() - Method in class com.crankuptheamps.client.TCPTransport
-
- close() - Method in interface com.crankuptheamps.client.Transport
-
- CodingErrorAction - Static variable in class com.crankuptheamps.client.FIXProtocol
-
Specifies the default action to be taken when a character cannot be
encoded or decoded.
- com.crankuptheamps.client - package com.crankuptheamps.client
-
This package contains the AMPS Java client.
- com.crankuptheamps.client.exception - package com.crankuptheamps.client.exception
-
This package contains exceptions thrown by the AMPS Java client.
- com.crankuptheamps.client.fields - package com.crankuptheamps.client.fields
-
This package contains helper classes for formatting and parsing messages to
AMPS.
- com.crankuptheamps.client.util - package com.crankuptheamps.client.util
-
- Command - Class in com.crankuptheamps.client
-
Command is an encapsulation of a single AMPS command sent by the client.
- Command() - Constructor for class com.crankuptheamps.client.Command
-
Create a new Command with no command type or arguments set.
- Command(int) - Constructor for class com.crankuptheamps.client.Command
-
Create a Command with the Command field set.
- Command(String) - Constructor for class com.crankuptheamps.client.Command
-
Create a Command with the Command field set.
- CommandException - Exception in com.crankuptheamps.client.exception
-
Base class for exceptions thrown when an error occurs in an AMPS command.
- CommandException() - Constructor for exception com.crankuptheamps.client.exception.CommandException
-
- CommandException(String) - Constructor for exception com.crankuptheamps.client.exception.CommandException
-
- CommandException(Throwable) - Constructor for exception com.crankuptheamps.client.exception.CommandException
-
- CommandException(String, Throwable) - Constructor for exception com.crankuptheamps.client.exception.CommandException
-
- CommandField - Class in com.crankuptheamps.client.fields
-
Field data for a
Message
which consists of a Command.
- CommandField() - Constructor for class com.crankuptheamps.client.fields.CommandField
-
- CommandId - Class in com.crankuptheamps.client
-
Used to give a unique identifier to a
Command
.
- CommandId(String) - Constructor for class com.crankuptheamps.client.CommandId
-
Constructs a Command Id for an AMPS command, using a string as its identifier.
- CommandId(byte[]) - Constructor for class com.crankuptheamps.client.CommandId
-
Constructs a Command Id for an AMPS command, using an array of bytes as its identifier.
- CommandId(byte[], int, int) - Constructor for class com.crankuptheamps.client.CommandId
-
Constructs a Command Id for an AMPS command, using an array of bytes, a position number, and a length
as its identifier.
- compareTo(VersionInfo) - Method in class com.crankuptheamps.client.VersionInfo
-
- completed(String, String, int) - Method in interface com.crankuptheamps.client.Authenticator
-
Called when a logon completes successfully.
- completed(String, String, int) - Method in class com.crankuptheamps.client.DefaultAuthenticator
-
Called when a logon completes successfully.
- Completed - Static variable in class com.crankuptheamps.client.Message.AckType
-
- CompositeMessageBuilder - Class in com.crankuptheamps.client
-
Used to create payloads for AMPS composite messages, which are messages with
a number of parts where each part is a complete message of a specific
message type.
- CompositeMessageBuilder() - Constructor for class com.crankuptheamps.client.CompositeMessageBuilder
-
Create a new, empty CompositeMessageBuilder.
- CompositeMessageBuilder(int) - Constructor for class com.crankuptheamps.client.CompositeMessageBuilder
-
Create a new empty CompositeMessageBuilder.
- CompositeMessageParser - Class in com.crankuptheamps.client
-
Used to retrieve individual message parts from AMPS composite messages,
which are messages where the data contains a number of parts and each part
is a complete message of a specific message type.
- CompositeMessageParser() - Constructor for class com.crankuptheamps.client.CompositeMessageParser
-
Creates a new CompositeMessageParser, with 0 valid parts.
- CompositeMessageParser(Field) - Constructor for class com.crankuptheamps.client.CompositeMessageParser
-
Creates a new CompositeMessageParser and parses the provided message body.
- CompositeMessageParser(Message) - Constructor for class com.crankuptheamps.client.CompositeMessageParser
-
Creates a new CompositeMessageParser and parses a message's body.
- conflate() - Method in class com.crankuptheamps.client.MessageStream
-
Causes messages to be conflated by SOW key.
- Conflation(String) - Static method in class com.crankuptheamps.client.Message.Options
-
Formats the conflation
option for a command.
- ConflationKey(String) - Static method in class com.crankuptheamps.client.Message.Options
-
Formats the conflation_key
option for a command
that uses the conflation
option.
- connect(String) - Method in class com.crankuptheamps.client.Client
-
Connects to the AMPS instance through the provided URI.
- connect() - Method in class com.crankuptheamps.client.HAClient
-
- connect(String) - Method in class com.crankuptheamps.client.HAClient
-
- connect(URI) - Method in class com.crankuptheamps.client.TCPTransport
-
- connect(URI) - Method in class com.crankuptheamps.client.TCPTransportImpl
-
- connect(URI) - Method in interface com.crankuptheamps.client.Transport
-
- connectAndLogon() - Method in class com.crankuptheamps.client.HAClient
-
- Connected - Static variable in interface com.crankuptheamps.client.ConnectionStateListener
-
Constant passed when the client connects.
- ConnectionException - Exception in com.crankuptheamps.client.exception
-
Base class for exceptions thrown when AMPS encounters an error with
a connection.
- ConnectionException(String) - Constructor for exception com.crankuptheamps.client.exception.ConnectionException
-
- ConnectionException() - Constructor for exception com.crankuptheamps.client.exception.ConnectionException
-
- ConnectionException(Throwable) - Constructor for exception com.crankuptheamps.client.exception.ConnectionException
-
- ConnectionException(String, Throwable) - Constructor for exception com.crankuptheamps.client.exception.ConnectionException
-
- ConnectionInfo - Class in com.crankuptheamps.client
-
A Key, Value mapping for metadata about the state of an AMPS connection.
- ConnectionInfo() - Constructor for class com.crankuptheamps.client.ConnectionInfo
-
- ConnectionRefusedException - Exception in com.crankuptheamps.client.exception
-
Thrown when a connection could not be established.
- ConnectionRefusedException() - Constructor for exception com.crankuptheamps.client.exception.ConnectionRefusedException
-
- ConnectionRefusedException(String) - Constructor for exception com.crankuptheamps.client.exception.ConnectionRefusedException
-
- ConnectionRefusedException(Throwable) - Constructor for exception com.crankuptheamps.client.exception.ConnectionRefusedException
-
- ConnectionRefusedException(String, Throwable) - Constructor for exception com.crankuptheamps.client.exception.ConnectionRefusedException
-
- connectionStateChanged(int) - Method in interface com.crankuptheamps.client.ConnectionStateListener
-
Called on an implementation of this interface when
the connection state changes.
- connectionStateChanged(int) - Method in class com.crankuptheamps.client.MessageStream
-
Used to indicate a if there was a change in state with connection.
- ConnectionStateListener - Interface in com.crankuptheamps.client
-
An interface that allows an application to be notified when the
client connects or disconnects to an AMPS server.
- constructTransportImpl(Protocol, Properties) - Method in class com.crankuptheamps.client.TCPSTransport
-
- constructTransportImpl(Protocol, Properties) - Method in class com.crankuptheamps.client.TCPTransport
-
- copy() - Method in class com.crankuptheamps.client.fields.BookmarkField
-
- copy() - Method in class com.crankuptheamps.client.fields.Field
-
Constructs a new Field and sets its value to a deep copy of this instance.
- copy() - Method in class com.crankuptheamps.client.FIXMessage
-
Copies the FIX Message into a new FIX Message.
- copy() - Method in class com.crankuptheamps.client.JSONMessage
-
Copies the JSON Message to a new JSON Message.
- copy() - Method in class com.crankuptheamps.client.Message
-
- copy() - Method in class com.crankuptheamps.client.XMLMessage
-
Method used to copy an existing XML message to a new XML message.
- copyFrom(Field) - Method in class com.crankuptheamps.client.fields.Field
-
Sets the value of this instance to a deep copy of the value of the specified field.
- createFileBacked(String, String, int, String) - Static method in class com.crankuptheamps.client.HAClient
-
Creates a new highly available client backed by disk.
- createFileBacked(String, String, String) - Static method in class com.crankuptheamps.client.HAClient
-
Creates a new highly available client backed by disk.
- createMemoryBacked(String) - Static method in class com.crankuptheamps.client.HAClient
-
Creates a new memory-backed highly-available client.
- createProtocol(String, Properties) - Static method in class com.crankuptheamps.client.ProtocolFactory
-
Creates a protocol.
- createSocket() - Method in class com.crankuptheamps.client.TCPSTransportImpl
-
- createSocket() - Method in class com.crankuptheamps.client.TCPTransportImpl
-
- createTransport(Protocol) - Static method in class com.crankuptheamps.client.TCPTransport
-
- createTransport(String, Protocol, Properties) - Static method in class com.crankuptheamps.client.TransportFactory
-
Creates a
Transport
using the parameters provided.
- get() - Method in class com.crankuptheamps.client.Pool
-
Returns an object from the pool, growing self if necessary (by initialSize).
- getAckBatchSize() - Method in class com.crankuptheamps.client.Client
-
Returns the current ACK batch size.
- getAckTimeout() - Method in class com.crankuptheamps.client.Client
-
Returns the current queue ack timeout in milliseconds.
- getAckType() - Method in class com.crankuptheamps.client.Command
-
Get the ackType for this command.
- getAckType() - Method in class com.crankuptheamps.client.Message
-
Returns the type of acknowledgement for an acknowledgement Message.
- getAckTypeOutgoing() - Method in class com.crankuptheamps.client.Message
-
Returns the type of acknowledgement for an outgoing Message.
- getAutoAck() - Method in class com.crankuptheamps.client.Client
-
Returns the current setting of auto-acking.
- getBatchSize() - Method in class com.crankuptheamps.client.Command
-
Get the batchSize set on this command.
- getBatchSize() - Method in class com.crankuptheamps.client.Message
-
Returns the BatchSize for this Message.
- getBookmark() - Method in class com.crankuptheamps.client.BookmarkRingBuffer.Entry
-
Gets the bookmark field of the Entry.
- getBookmark() - Method in class com.crankuptheamps.client.Command
-
Get the bookmark for this command.
- getBookmark() - Method in class com.crankuptheamps.client.Message
-
Returns the AMPS Bookmark for this Message.
- getBookmarkRaw() - Method in class com.crankuptheamps.client.Message
-
Gets the raw value for the AMPS Bookmark.
- getBookmarkSeqNo() - Method in class com.crankuptheamps.client.Message
-
Returns the bookmark sequence number for this Message.
- getBookmarkStore() - Method in class com.crankuptheamps.client.Client
-
Returns the underlying bookmark store for this client.
- getBuffer() - Method in class com.crankuptheamps.client.ArrayStoreBuffer
-
Gets the back buffer.
- getBuffer() - Method in class com.crankuptheamps.client.Message
-
Gets the byte buffer used by the Message.
- getByIndex(long) - Method in class com.crankuptheamps.client.BookmarkRingBuffer
-
Retrieves an Entry given an index.
- getByte() - Method in class com.crankuptheamps.client.ArrayStoreBuffer
-
Gets the byte from the buffer.
- getByte() - Method in interface com.crankuptheamps.client.BlockPublishStore.Buffer
-
- getByte() - Method in class com.crankuptheamps.client.MemoryStoreBuffer
-
Gets the byte from the buffer.
- getBytes(BlockPublishStore.ByteSequence) - Method in class com.crankuptheamps.client.ArrayStoreBuffer
-
- getBytes(Field, int) - Method in class com.crankuptheamps.client.ArrayStoreBuffer
-
Gets the series of bytes at the current position, this is done by copying them into a
Field
object.
- getBytes(BlockPublishStore.ByteSequence) - Method in interface com.crankuptheamps.client.BlockPublishStore.Buffer
-
- getBytes(Field, int) - Method in interface com.crankuptheamps.client.BlockPublishStore.Buffer
-
- getBytes() - Method in class com.crankuptheamps.client.FIXBuilder
-
Returns the byte array containing the FIX message.
- getBytes(BlockPublishStore.ByteSequence) - Method in class com.crankuptheamps.client.MemoryStoreBuffer
-
- getBytes(Field, int) - Method in class com.crankuptheamps.client.MemoryStoreBuffer
-
Gets the series of bytes at the current position, this is done by copying them into a
Field
object.
- getBytes() - Method in class com.crankuptheamps.client.NVFIXBuilder
-
Returns the byte array containing the NVFIX message.
- getClient() - Method in class com.crankuptheamps.client.Message
-
Returns the client who allocated this message.
- getClientName() - Method in class com.crankuptheamps.client.Message
-
Gets the ClientName on this Message.
- getClientNameRaw() - Method in class com.crankuptheamps.client.Message
-
Gets the ClientName on this Message.
- getClientSequenceNumber() - Method in class com.crankuptheamps.client.Command
-
Get the client sequence number set on this command.
- getCommand() - Method in class com.crankuptheamps.client.Command
-
Return the command type for this command.
- getCommand() - Method in class com.crankuptheamps.client.Message
-
Returns the Command for this Message, indicating the type of
of message this is.
- getCommandId() - Method in class com.crankuptheamps.client.Command
-
- getCommandId() - Method in class com.crankuptheamps.client.Message
-
Gets the CommandId on this Message.
- getCommandId(CommandId) - Method in class com.crankuptheamps.client.Message
-
Gets the CommandId on this Message by copying it into the provided
CommandId object.
- getCommandIdRaw() - Method in class com.crankuptheamps.client.Message
-
Gets the CommandId on this Message.
- getConnectionInfo() - Method in class com.crankuptheamps.client.Client
-
Assembles a new ConnectionInfo with the state of this client and
associated classes.
- getConnectionInfo() - Method in class com.crankuptheamps.client.HAClient
-
Assembles a new ConnectionInfo with the state of this client and
associated classes.
- getConnectWaitDuration(String) - Method in class com.crankuptheamps.client.ExponentialDelayStrategy
-
- getConnectWaitDuration(String) - Method in class com.crankuptheamps.client.FixedDelayStrategy
-
Returns the time (in milliseconds) that the client should wait before connecting to the given server URI.
- getConnectWaitDuration(String) - Method in interface com.crankuptheamps.client.ReconnectDelayStrategy
-
Returns the time (in milliseconds) that the client should wait before
connecting to the given server URI.
- getConversionBufInitialSize() - Method in class com.crankuptheamps.client.fields.BookmarkField
-
Overrides the base classes' initial default size for the byte and
char conversion buffers used by this instance.
- getConversionBufInitialSize() - Method in class com.crankuptheamps.client.fields.StringField
-
Returns the initial default size for the byte and char conversion buffers
used by this instance.
- getCorrelationId() - Method in class com.crankuptheamps.client.Command
-
Returns the correlation Id set on this command
- getCorrelationId() - Method in class com.crankuptheamps.client.Message
-
Get the CorrelationId on this message.
- getCorrelationIdRaw() - Method in class com.crankuptheamps.client.Message
-
Get the CorrelationId on this message.
- getCurrentAuthenticator() - Method in class com.crankuptheamps.client.DefaultServerChooser
-
Returns the Authenticator instance associated with the current URI.
- getCurrentAuthenticator() - Method in interface com.crankuptheamps.client.ServerChooser
-
Returns the Authenticator instance associated with the current URI.
- getCurrentURI() - Method in class com.crankuptheamps.client.DefaultServerChooser
-
Gets the current URI.
- getCurrentURI() - Method in interface com.crankuptheamps.client.ServerChooser
-
Returns the current URI.
- getData() - Method in class com.crankuptheamps.client.Command
-
Get the data set on this command.
- getData() - Method in class com.crankuptheamps.client.Message
-
Returns the payload of the Message.
- getDataRaw() - Method in class com.crankuptheamps.client.Message
-
Returns the payload of the Message.
- getDecoder() - Method in class com.crankuptheamps.client.Message
-
Returns the CharsetDecoder for this Message.
- getDefaultConnectTimeout() - Static method in class com.crankuptheamps.client.TCPTransport
-
Returns the default connect timeout used for new connections.
- getDefaultEnabledCipherSuites() - Static method in class com.crankuptheamps.client.TCPSTransport
-
Returns the cipher suites that will be enabled on SSLSockets.
- getDefaultEnabledProtocols() - Static method in class com.crankuptheamps.client.TCPSTransport
-
Returns the protocols that will be enabled on SSLSockets.
- getDefaultMaxDepth() - Method in class com.crankuptheamps.client.Client
-
Gets the currently set default value for the max depth of
MessageStream
instances created by this client.
- getDefaultReadTimeout() - Static method in class com.crankuptheamps.client.TCPTransport
-
Returns the default read timeout used for socket reads.
- getDefaultResubscriptionTimeout() - Static method in class com.crankuptheamps.client.MemorySubscriptionManager
-
Gets the Default Resubscription Timeout for all instances of
this class in milliseconds.
- getDefaultSSLContext() - Static method in class com.crankuptheamps.client.TCPSTransport
-
Returns the SSL context that will be used for connecting.
- getDepth() - Method in class com.crankuptheamps.client.MessageStream
-
Gets the number of messages currently buffered by this message stream.
- getDisconnectHandler() - Method in class com.crankuptheamps.client.Client
-
- getDuplicateMessageHandler() - Method in class com.crankuptheamps.client.Client
-
- getEmptyMessageStream() - Static method in class com.crankuptheamps.client.MessageStream
-
Method to retrieve the empty MessageStream.
- getEncoder() - Method in class com.crankuptheamps.client.Message
-
Returns the CharsetEncoder for this Message.
- getEndIndex() - Method in class com.crankuptheamps.client.BookmarkRingBuffer
-
Returns the index value one greater than the last valid
Entry in self.
- getError() - Method in class com.crankuptheamps.client.DefaultServerChooser
-
Provides additional details to be included in an exception thrown when the AMPS instance(s)
are not available.
- getError() - Method in interface com.crankuptheamps.client.ServerChooser
-
Provides additional detail to be included in an exception thrown when
the AMPS instance(s) are not available.
- getExceptionListener() - Method in class com.crankuptheamps.client.Client
-
Returns the ExceptionListener
instance used for
communicating absorbed exceptions.
- getExpiration() - Method in class com.crankuptheamps.client.Command
-
Get the expiration set on this command.
- getExpiration() - Method in class com.crankuptheamps.client.Message
-
Returns the Expiration field set for this Message.
- getExpirationRaw() - Method in class com.crankuptheamps.client.Message
-
Returns the Expiration field set for this Message.
- getFailedWriteHandler() - Method in class com.crankuptheamps.client.Client
-
Returns the
FailedWriteHandler
instance used to report on failed
messages that have been written.
- getFilter() - Method in class com.crankuptheamps.client.Command
-
Get the filter for this command.
- getFilter() - Method in class com.crankuptheamps.client.Message
-
Returns the Filter field on this Message.
- getFilterRaw() - Method in class com.crankuptheamps.client.Message
-
Returns the Filter field on this Message.
- getGroupSeqNo() - Method in class com.crankuptheamps.client.Message
-
Get the group sequence number.
- getHeartbeatInterval() - Method in class com.crankuptheamps.client.Client
-
Returns the heartbeat interval used by the Client.
- getHighestUnpersisted() - Method in class com.crankuptheamps.client.BlockPublishStore
-
- getImplementationVersion() - Static method in class com.crankuptheamps.client.ClientVersion
-
Gets the implementation version number of this AMPS client build.
- getIndex() - Method in class com.crankuptheamps.client.BookmarkRingBuffer.Entry
-
Gets the index of the Entry in the Entry array.
- getInt() - Method in class com.crankuptheamps.client.ArrayStoreBuffer
-
Gets the integer from the buffer.
- getInt(long) - Method in class com.crankuptheamps.client.ArrayStoreBuffer
-
Gets the integer from the buffer.
- getInt() - Method in interface com.crankuptheamps.client.BlockPublishStore.Buffer
-
- getInt(long) - Method in interface com.crankuptheamps.client.BlockPublishStore.Buffer
-
- getInt() - Method in class com.crankuptheamps.client.MemoryStoreBuffer
-
Gets the integer from the buffer.
- getInt(long) - Method in class com.crankuptheamps.client.MemoryStoreBuffer
-
Gets the integer from the buffer.
- getLastDiscarded() - Method in class com.crankuptheamps.client.BookmarkRingBuffer
-
Returns the "last discarded" bookmark.
- getLastPersisted() - Method in class com.crankuptheamps.client.BlockPublishStore
-
- getLastPersisted() - Method in class com.crankuptheamps.client.HybridPublishStore
-
- getLastPersisted() - Method in interface com.crankuptheamps.client.Store
-
Return the last persisted index in the store.
- getLeasePeriod() - Method in class com.crankuptheamps.client.Message
-
Gets the decoded version of the LeasePeriod for the Message.
- getLeasePeriodRaw() - Method in class com.crankuptheamps.client.Message
-
Gets the raw verstion of the LeasePeriod filter for the Message.
- getLength() - Method in class com.crankuptheamps.client.Message
-
Returns the Length of the Message.
- getLogonCorrelationData() - Method in class com.crankuptheamps.client.Client
-
Gets the uninterpreted logon correlation information currently set.
- getLogonOptions() - Method in class com.crankuptheamps.client.HAClient
-
Returns the current logon options string.
- getLong() - Method in class com.crankuptheamps.client.ArrayStoreBuffer
-
Gets the long from the buffer.
- getLong() - Method in interface com.crankuptheamps.client.BlockPublishStore.Buffer
-
- getLong() - Method in class com.crankuptheamps.client.MemoryStoreBuffer
-
Gets the long from the buffer.
- getLowestUnpersisted() - Method in class com.crankuptheamps.client.BlockPublishStore
-
- getLowestUnpersisted() - Method in class com.crankuptheamps.client.HybridPublishStore
-
Returns the lowest sequence number currently in the store.
- getLowestUnpersisted() - Method in interface com.crankuptheamps.client.Store
-
Return the oldest index in the store.
- getMatches() - Method in class com.crankuptheamps.client.Message
-
Returns the number of matches in the command this Message acknowledges.
- getMaxDepth() - Method in class com.crankuptheamps.client.MessageStream
-
Gets the allowed maximum depth of the internal message buffer before
this stream will push-back on reads from the server.
- getMessageStream() - Method in class com.crankuptheamps.client.FIXProtocol
-
- getMessageStream() - Method in class com.crankuptheamps.client.JSONProtocol
-
- getMessageStream() - Method in class com.crankuptheamps.client.NVFIXProtocol
-
- getMessageStream() - Method in interface com.crankuptheamps.client.Protocol
-
Returns a parser instance that can deserialize a byte stream into a series of messages.
- getMessageStream() - Method in class com.crankuptheamps.client.XMLProtocol
-
Gets the message stream for the XML message.
- getMessageType() - Method in class com.crankuptheamps.client.Message
-
Returns the MessageType on this client.
- getMostRecent(Field) - Method in interface com.crankuptheamps.client.BookmarkStore
-
Call this when you want to return the correct recovery point for
resubscription of the provided subID from the BookmarkStore.
- getMostRecent(Field) - Method in class com.crankuptheamps.client.DefaultBookmarkStore
-
- getMostRecent(Field) - Method in class com.crankuptheamps.client.LoggedBookmarkStore
-
- getMostRecent(Field) - Method in class com.crankuptheamps.client.MemoryBookmarkStore
-
- getMostRecent(Field) - Method in class com.crankuptheamps.client.RingBookmarkStore
-
Call this when you want to return to the most recent bookmark from the log that should be used for (re-)subscriptions.
- getMostRecent() - Method in interface com.crankuptheamps.client.Subscription
-
- getMostRecentList() - Method in interface com.crankuptheamps.client.Subscription
-
- getName() - Method in class com.crankuptheamps.client.Client
-
Return the name of the Client.
- getOldestBookmarkSeq(Field) - Method in interface com.crankuptheamps.client.BookmarkStore
-
Call this when you want to retrieve the sequence number of the oldest bookmark in the store.
- getOldestBookmarkSeq(Field) - Method in class com.crankuptheamps.client.DefaultBookmarkStore
-
- getOldestBookmarkSeq(Field) - Method in class com.crankuptheamps.client.LoggedBookmarkStore
-
- getOldestBookmarkSeq(Field) - Method in class com.crankuptheamps.client.MemoryBookmarkStore
-
- getOldestBookmarkSeq(Field) - Method in class com.crankuptheamps.client.RingBookmarkStore
-
Call this when you want to retrieve the sequence number for the oldest bookmark in the store.
- getOldestBookmarkSeq() - Method in interface com.crankuptheamps.client.Subscription
-
- getOldStyleVersion() - Method in class com.crankuptheamps.client.VersionInfo
-
- getOptions() - Method in class com.crankuptheamps.client.Command
-
Get the options for this command.
- getOptions() - Method in class com.crankuptheamps.client.Message
-
Returns the Options to be set on this Message.
- getOptionsRaw() - Method in class com.crankuptheamps.client.Message
-
Returns the Options to be set on this Message.
- getOrderBy() - Method in class com.crankuptheamps.client.Command
-
Get the orderBy clause for this command.
- getOrderBy() - Method in class com.crankuptheamps.client.Message
-
Get the OrderBy parameter for this Message.
- getOrderByRaw() - Method in class com.crankuptheamps.client.Message
-
Get the OrderBy parameter for this Message.
- getPart(int, Field) - Method in class com.crankuptheamps.client.CompositeMessageParser
-
Returns a part from a composite message body.
- getPassword() - Method in class com.crankuptheamps.client.Message
-
Returns the Password set on the Message.
- getPasswordRaw() - Method in class com.crankuptheamps.client.Message
-
Returns the Password set on the Message.
- getPosition() - Method in class com.crankuptheamps.client.ArrayStoreBuffer
-
Gets the current position in the buffer.
- getPosition() - Method in interface com.crankuptheamps.client.BlockPublishStore.Buffer
-
- getPosition() - Method in class com.crankuptheamps.client.MemoryStoreBuffer
-
Gets the current position in the buffer.
- getPublisherId() - Method in class com.crankuptheamps.client.fields.BookmarkField
-
Gets the publisher id for this bookmark.
- getPublishStore() - Method in class com.crankuptheamps.client.Client
-
Returns the underlying publish store for this client.
- getQueryId() - Method in class com.crankuptheamps.client.Command
-
Get the queryId for this command.
- getQueryId() - Method in class com.crankuptheamps.client.Message
-
Returns the QueryId for this Message.
- getQueryId(CommandId) - Method in class com.crankuptheamps.client.Message
-
Returns the QueryId for this Message by copying it into the provided CommandId.
- getQueryIdRaw() - Method in class com.crankuptheamps.client.Message
-
Returns the QueryId for this Message.
- getRawBufferLength() - Method in class com.crankuptheamps.client.Message
-
Gets the length of the Message within the byte buffer.
- getRawBufferOffset() - Method in class com.crankuptheamps.client.Message
-
Gets the offset into the byte buffer where this Message begins.
- getReadTimeout() - Method in class com.crankuptheamps.client.Client
-
Returns the time (in seconds) to allow silence on the connection before assuming it is dead.
- getReason() - Method in class com.crankuptheamps.client.Message
-
Returns the Reason value of this Message.
- getReasonText() - Method in class com.crankuptheamps.client.Message
-
Returns the Reason value of this Message.
- getReconnectDelayStrategy() - Method in class com.crankuptheamps.client.HAClient
-
- getRecordsDeleted() - Method in class com.crankuptheamps.client.Message
-
Returns the number of records deleted for the command that this Message
was produced in response to.
- getRecordsInserted() - Method in class com.crankuptheamps.client.Message
-
Returns the number of records inserted for the command that this Message
was produced in response to.
- getRecordsReturned() - Method in class com.crankuptheamps.client.Message
-
Returns the number of records returned for the command that this Message
was produced in response to.
- getRecordsUpdated() - Method in class com.crankuptheamps.client.Message
-
Returns the number of records updated for the command that this Message
was produced in response to.
- getRecoveryEntries() - Method in class com.crankuptheamps.client.BookmarkRingBuffer
-
Gets all of the recovery entries in a newly allocated ArrayList.
- getRecoveryEntries(ArrayList<BookmarkRingBuffer.Entry>) - Method in class com.crankuptheamps.client.BookmarkRingBuffer
-
- getReleaseVersion() - Static method in class com.crankuptheamps.client.ClientVersion
-
Gets the release version number of this AMPS client build.
- getResubscriptionTimeout() - Method in class com.crankuptheamps.client.MemorySubscriptionManager
-
Gets the Resubscription timeout in milliseconds .
- getRetryOnDisconnect() - Method in class com.crankuptheamps.client.Client
-
Return whether or not messages being sent to the server will retry if the
client is disconnected.
- getSequence() - Method in class com.crankuptheamps.client.Message
-
Returns the sequence number for this Message.
- getSequenceNumber() - Method in class com.crankuptheamps.client.fields.BookmarkField
-
Gets the sequence number for this bookmark.
- getSequenceRaw() - Method in class com.crankuptheamps.client.Message
-
Returns the sequence number for this Message.
- getServerChooser() - Method in class com.crankuptheamps.client.HAClient
-
- getServerVersion() - Method in class com.crankuptheamps.client.Client
-
Return the server version retrieved during logon.
- getServerVersion() - Method in class com.crankuptheamps.client.LoggedBookmarkStore
-
Called by Client when connected to an AMPS server in order to retrieve the version
number of the server.
- getServerVersion() - Method in class com.crankuptheamps.client.MemoryBookmarkStore
-
Called by Client when connected to an AMPS server in order to retrieve the version
number of the server.
- getServerVersion() - Method in class com.crankuptheamps.client.RingBookmarkStore
-
Called internally by the Client to return the server version detected upon logon.
- getServerVersionInfo() - Method in class com.crankuptheamps.client.Client
-
Return the server version retrieved during logon.
- getSize() - Method in class com.crankuptheamps.client.ArrayStoreBuffer
-
Gets the size of the back buffer.
- getSize() - Method in interface com.crankuptheamps.client.BlockPublishStore.Buffer
-
- getSize() - Method in class com.crankuptheamps.client.FIXBuilder
-
Returns the number of bytes in the byte array containing the FIX message.
- getSize() - Method in class com.crankuptheamps.client.MemoryStoreBuffer
-
Gets the size of the buffer.
- getSize() - Method in class com.crankuptheamps.client.NVFIXBuilder
-
Returns the number of bytes in the byte array containing the NVFIX message.
- getSOWKey() - Method in class com.crankuptheamps.client.Command
-
Deprecated.
Use getSowKey() instead.
- getSowKey() - Method in class com.crankuptheamps.client.Command
-
Returns the SOW key on this command.
- getSowKey() - Method in class com.crankuptheamps.client.Message
-
Returns the SowKey for this Message.
- getSowKeyRaw() - Method in class com.crankuptheamps.client.Message
-
Returns the SowKey for this Message.
- getSowKeys() - Method in class com.crankuptheamps.client.Command
-
Returns the SOW key on this command.
- getSOWKeys() - Method in class com.crankuptheamps.client.Command
-
Deprecated.
Use getSowKeys() instead
- getSowKeys() - Method in class com.crankuptheamps.client.Message
-
Gets the set of SowKeys this message applies to.
- getSowKeysRaw() - Method in class com.crankuptheamps.client.Message
-
Gets the set of SowKeys this message applies to.
- getStartIndex() - Method in class com.crankuptheamps.client.BookmarkRingBuffer
-
Returns the index value associated with the first valid
Entry in self.
- getStatus() - Method in class com.crankuptheamps.client.Message
-
Returns the Status of this Message.
- getString(int) - Method in class com.crankuptheamps.client.CompositeMessageParser
-
Returns a part from a composite message body.
- getString(int, Charset) - Method in class com.crankuptheamps.client.CompositeMessageParser
-
Returns a part from a composite message body.
- getSubId() - Method in class com.crankuptheamps.client.Command
-
Get the subId set on this command.
- getSubId() - Method in class com.crankuptheamps.client.Message
-
Gets the SubId of this Message.
- getSubId(CommandId) - Method in class com.crankuptheamps.client.Message
-
Gets the SubId of this Message by copying it into the provided CommandId.
- getSubIdRaw() - Method in class com.crankuptheamps.client.Message
-
Gets the SubId of this Message.
- getSubIds() - Method in class com.crankuptheamps.client.Message
-
The set of SubIds for this Message.
- getSubIdsRaw() - Method in class com.crankuptheamps.client.Message
-
The set of SubIds for this message.
- getSubscription() - Method in class com.crankuptheamps.client.Message
-
Gets the Subscription for this Message.
- getSubscriptionManager() - Method in class com.crankuptheamps.client.Client
-
- getText() - Method in class com.crankuptheamps.client.fields.ReasonField
-
Returns the value of this reason field as a descriptive text string.
- getTimeout() - Method in class com.crankuptheamps.client.Command
-
Get the timeout set on this command.
- getTimeout() - Method in class com.crankuptheamps.client.HAClient
-
Returns the timeout used for logging on and resubscribing, once a
connection is re-established.
- getTimeout() - Method in class com.crankuptheamps.client.MessageStream
-
Gets the currently set timeout value for self (zero if none).
- getTimestamp() - Method in class com.crankuptheamps.client.Message
-
Returns the timestamp for this message, an ISO-8601 formatted string.
- getTimestampRaw() - Method in class com.crankuptheamps.client.Message
-
Returns the timestamp for this message, an ISO-8601 formatted string.
- getTopic() - Method in class com.crankuptheamps.client.Command
-
Get the topic set on this command.
- getTopic() - Method in class com.crankuptheamps.client.Message
-
Return the topic that the message applies to.
- getTopicMatches() - Method in class com.crankuptheamps.client.Message
-
Returns the number of matching topics for the command that this message
was produced in response to.
- getTopicRaw() - Method in class com.crankuptheamps.client.Message
-
Return the topic that the message applies to.
- getTopN() - Method in class com.crankuptheamps.client.Command
-
Get the topN value for this command.
- getTopN() - Method in class com.crankuptheamps.client.Message
-
Get the TopN parameter for this message.
- getTransport() - Method in class com.crankuptheamps.client.Client
-
Return the underlying transport.
- getURI() - Method in class com.crankuptheamps.client.Client
-
Return the URI the Client is connected to.
- getUserId() - Method in class com.crankuptheamps.client.Message
-
Get the UserId for this message.
- getUserIdRaw() - Method in class com.crankuptheamps.client.Message
-
Get the UserId for this message.
- getValue() - Method in class com.crankuptheamps.client.fields.AckTypeField
-
This method gets the value of the AckType.
- getValue() - Method in class com.crankuptheamps.client.fields.BooleanField
-
Gets the value for the boolean field.
- getValue() - Method in class com.crankuptheamps.client.fields.CommandField
-
This method gets the value of the Command.
- getValue() - Method in class com.crankuptheamps.client.fields.IntegerField
-
Gets the value of this integer field as a Java 32-bit signed integer.
- getValue() - Method in class com.crankuptheamps.client.fields.LongField
-
Gets the value of this long field as a Java 64-bit signed integer.
- getValue(CharsetDecoder) - Method in class com.crankuptheamps.client.fields.OptionsField
-
- getValue(ByteBuffer) - Method in class com.crankuptheamps.client.fields.OptionsField
-
- getValue() - Method in class com.crankuptheamps.client.fields.ReasonField
-
This returns the value of this reason field as an integer reason code.
- getValue() - Method in class com.crankuptheamps.client.fields.StatusField
-
This returns the value of this status field as an integer status code.
- getValue(CharsetDecoder) - Method in class com.crankuptheamps.client.fields.StringField
-
Returns a string representation of the Field value, where the bytes are interpreted by using the specified
decoder.
- getValue(ByteBuffer) - Method in class com.crankuptheamps.client.fields.StringField
-
Writes the byte value of this instance into the specified byte buffer, if the value is not null.
- getValue(CommandId) - Method in class com.crankuptheamps.client.fields.StringField
-
Writes the byte value of this instance into the specified command ID buffer object, if the value is not null.
- getVersion() - Static method in class com.crankuptheamps.client.Client
-
Return the build number for the client that is stored in the Manifest.mf of the jar file.
- getVersion() - Method in class com.crankuptheamps.client.Message
-
Returns the version of the AMPS server, provided in response to a logon.
- getVersion() - Method in class com.crankuptheamps.client.TCPTransport
-
- getVersion() - Method in interface com.crankuptheamps.client.Transport
-
- getVersion() - Method in class com.crankuptheamps.client.VersionInfo
-
- getVersionAsInt(String) - Static method in class com.crankuptheamps.client.Client
-
Return the numeric value for the given version string with the pattern:
Major.Minor.Maintenance.Hotfix
The version uses 2 digits each for major minor maintenance and hotfix
i.e., 3.8.1.5 will return 3080105
Version strings passed in can be shortened to not include all levels
so 3.8 will return 3080000.
- getVersionAsInt() - Method in class com.crankuptheamps.client.Message
-
Returns the version of the AMPS server, provided in response to a logon.
- getVersionRaw() - Method in class com.crankuptheamps.client.Message
-
Returns the version of the AMPS server, provided in response to a logon.
- getVersionString() - Method in class com.crankuptheamps.client.VersionInfo
-
- GroupBegin - Static variable in class com.crankuptheamps.client.Message.Command
-
- GroupEnd - Static variable in class com.crankuptheamps.client.Message.Command
-
- Grouping(String) - Static method in class com.crankuptheamps.client.Message.Options
-
Formats the grouping
option for an
aggregated subscription, which specifies how to determine
which records to aggregate together.
- Grouping(Iterable<String>) - Static method in class com.crankuptheamps.client.Message.Options
-
Formats the grouping
option for an
aggregated subscription, which specifies how to determine
which records to aggregate together.
- growFreeListIfEmpty() - Method in class com.crankuptheamps.client.BlockPublishStore
-
- id - Variable in class com.crankuptheamps.client.CommandId
-
- IMPLEMENTATION_VERSION - Static variable in class com.crankuptheamps.client.ClientVersion
-
The implementation version number of this AMPS client build.
- incoming(ByteBuffer) - Method in class com.crankuptheamps.client.DefaultTransportFilter
-
- incoming(ByteBuffer) - Method in interface com.crankuptheamps.client.TransportFilter
-
Called just after raw data is received from the AMPS instance.
- incoming(ByteBuffer) - Method in class com.crankuptheamps.client.TransportTraceFilter
-
Method to call the print() method with the incoming prefix for printing raw data.
- instance - Static variable in class com.crankuptheamps.client.DefaultDisconnectHandler
-
- instance - Static variable in class com.crankuptheamps.client.DefaultMessageHandler
-
- IntegerField - Class in com.crankuptheamps.client.fields
-
Field data for a
Message
consisting of an integer value.
- IntegerField() - Constructor for class com.crankuptheamps.client.fields.IntegerField
-
- InvalidBookmark - Static variable in class com.crankuptheamps.client.Message.Reason
-
- InvalidOrderBy - Static variable in class com.crankuptheamps.client.Message.Reason
-
- InvalidProtocolOptionsException - Exception in com.crankuptheamps.client.exception
-
Throws an exception when invalid protocol options were used in the
URI specification.
- InvalidProtocolOptionsException() - Constructor for exception com.crankuptheamps.client.exception.InvalidProtocolOptionsException
-
- InvalidProtocolOptionsException(String) - Constructor for exception com.crankuptheamps.client.exception.InvalidProtocolOptionsException
-
- InvalidProtocolOptionsException(Throwable) - Constructor for exception com.crankuptheamps.client.exception.InvalidProtocolOptionsException
-
- InvalidProtocolOptionsException(String, Throwable) - Constructor for exception com.crankuptheamps.client.exception.InvalidProtocolOptionsException
-
- InvalidTopic - Static variable in class com.crankuptheamps.client.Message.Reason
-
- InvalidTopicException - Exception in com.crankuptheamps.client.exception
-
Thrown when the AMPS server reports that the command requested is not
valid for the topic specified.
- InvalidTopicException() - Constructor for exception com.crankuptheamps.client.exception.InvalidTopicException
-
- InvalidTopicException(String) - Constructor for exception com.crankuptheamps.client.exception.InvalidTopicException
-
- InvalidTopicException(Throwable) - Constructor for exception com.crankuptheamps.client.exception.InvalidTopicException
-
- InvalidTopicException(String, Throwable) - Constructor for exception com.crankuptheamps.client.exception.InvalidTopicException
-
- InvalidTransportOptionsException - Exception in com.crankuptheamps.client.exception
-
Thrown when invalid transport options are used in the URI specification.
- InvalidTransportOptionsException() - Constructor for exception com.crankuptheamps.client.exception.InvalidTransportOptionsException
-
- InvalidTransportOptionsException(String) - Constructor for exception com.crankuptheamps.client.exception.InvalidTransportOptionsException
-
- InvalidTransportOptionsException(Throwable) - Constructor for exception com.crankuptheamps.client.exception.InvalidTransportOptionsException
-
- InvalidTransportOptionsException(String, Throwable) - Constructor for exception com.crankuptheamps.client.exception.InvalidTransportOptionsException
-
- InvalidURIException - Exception in com.crankuptheamps.client.exception
-
Thrown when an invalid URI format is specified.
- InvalidURIException() - Constructor for exception com.crankuptheamps.client.exception.InvalidURIException
-
- InvalidURIException(String) - Constructor for exception com.crankuptheamps.client.exception.InvalidURIException
-
- InvalidURIException(Throwable) - Constructor for exception com.crankuptheamps.client.exception.InvalidURIException
-
- InvalidURIException(String, Throwable) - Constructor for exception com.crankuptheamps.client.exception.InvalidURIException
-
- invoke(BookmarkStore, Field, long) - Method in interface com.crankuptheamps.client.BookmarkStoreResizeHandler
-
- invoke(Client) - Method in interface com.crankuptheamps.client.ClientDisconnectHandler
-
When the Client unintentionally disconnects from AMPS, this method is
invoked.
- invoke(Client, Exception) - Method in interface com.crankuptheamps.client.ClientDisconnectHandler2
-
When the Client unintentionally disconnects from AMPS, this method is
invoked.
- invoke(Client) - Method in class com.crankuptheamps.client.DefaultDisconnectHandler
-
- invoke(Transport, Exception) - Method in class com.crankuptheamps.client.DefaultDisconnectHandler
-
- invoke(Message) - Method in class com.crankuptheamps.client.DefaultMessageHandler
-
- invoke(Client) - Method in class com.crankuptheamps.client.HAClient.HADisconnectHandler
-
- invoke(Client, Exception) - Method in class com.crankuptheamps.client.HAClient.HADisconnectHandler
-
- invoke(Message) - Method in interface com.crankuptheamps.client.MessageHandler
-
Method for the AMPS client to call when a message is received.
- invoke(Message) - Method in class com.crankuptheamps.client.MessageStream
-
- invoke(Store, long) - Method in interface com.crankuptheamps.client.PublishStoreResizeHandler
-
- invoke(Transport, Exception) - Method in interface com.crankuptheamps.client.TransportDisconnectHandler
-
Called by the Transport whenever the underlying socket is disconnected.
- isAckTypeNull() - Method in class com.crankuptheamps.client.Message
-
Checks whether the AckType field is null.
- isActive() - Method in class com.crankuptheamps.client.BookmarkRingBuffer.Entry
-
Gets the active value of the Entry.
- isBatchSizeNull() - Method in class com.crankuptheamps.client.Message
-
Checks whether the BatchSize field is null.
- isBookmarkNull() - Method in class com.crankuptheamps.client.Message
-
Checks whether the Bookmark field is null.
- isClientNameNull() - Method in class com.crankuptheamps.client.Message
-
Checks whether the ClientName field is null.
- isCommandIdNull() - Method in class com.crankuptheamps.client.Message
-
Checks whether the CommandId is null.
- isCommandNull() - Method in class com.crankuptheamps.client.Message
-
Checks whether the Command field is null.
- isConflating() - Method in class com.crankuptheamps.client.MessageStream
-
Indicates whether this message stream is conflating messages by SOW key.
- isConnected() - Method in class com.crankuptheamps.client.MessageStream
-
Returns true if the connection to AMPS is still active, or false if a disconnect is detected.
- isCorrelationIdNull() - Method in class com.crankuptheamps.client.Message
-
Checks whether the CorrelationId field is null.
- isDaemon() - Static method in class com.crankuptheamps.client.TCPTransport
-
- isDataNull() - Method in class com.crankuptheamps.client.Message
-
Checks whether the Data field is null.
- isDiscarded(Message) - Method in interface com.crankuptheamps.client.BookmarkStore
-
Called for each arriving message to determine if
the application has already processed and discarded this message.
- isDiscarded(Message) - Method in class com.crankuptheamps.client.DefaultBookmarkStore
-
- isDiscarded(Message) - Method in class com.crankuptheamps.client.LoggedBookmarkStore
-
- isDiscarded(Message) - Method in class com.crankuptheamps.client.MemoryBookmarkStore
-
- isDiscarded(Message) - Method in class com.crankuptheamps.client.RingBookmarkStore
-
Called for each arriving message to determine if the application has already processed and discarded the message.
- isDiscarded(BookmarkField) - Method in interface com.crankuptheamps.client.Subscription
-
- isEmpty() - Method in class com.crankuptheamps.client.BookmarkRingBuffer
-
Returns if the buffer is currently empty.
- isExpirationNull() - Method in class com.crankuptheamps.client.Message
-
Checks whether the Expiration field is null.
- isFilterNull() - Method in class com.crankuptheamps.client.Message
-
Checks whether the Filter field is null.
- isGroupSeqNoNull() - Method in class com.crankuptheamps.client.Message
-
Checks whether the GroupSeqNo field is null.
- isIgnoreAutoAck() - Method in class com.crankuptheamps.client.Message
-
Used to check if automatic acking of this Message by the Client
should be skipped.
- isLeasePeriodNull() - Method in class com.crankuptheamps.client.Message
-
Check whether the LeasePeriod field is null.
- isLengthNull() - Method in class com.crankuptheamps.client.Message
-
Checks whether the Length field is null.
- isMatchesNull() - Method in class com.crankuptheamps.client.Message
-
Checks whether the Matches field is Null.
- isMessageTypeNull() - Method in class com.crankuptheamps.client.Message
-
Checks whether the MessageType field is null.
- isNull() - Method in class com.crankuptheamps.client.fields.Field
-
Indicates whether this instance's value is null.
- isOptionsNull() - Method in class com.crankuptheamps.client.Message
-
Checks whether the Options field is null.
- isOrderByNull() - Method in class com.crankuptheamps.client.Message
-
Checks whether the OrderBy field is null.
- isPasswordNull() - Method in class com.crankuptheamps.client.Message
-
Checks whether the Password field is null.
- isPersisted() - Method in class com.crankuptheamps.client.BookmarkRingBuffer.Entry
-
Gets the persisted value of the Entry.
- isQueryIdNull() - Method in class com.crankuptheamps.client.Message
-
Checks whether the QueryId field is null.
- isReasonNull() - Method in class com.crankuptheamps.client.Message
-
Checks whether the Reason is null.
- isRecordsDeletedNull() - Method in class com.crankuptheamps.client.Message
-
Checks whether the RecordsDeleted field is null.
- isRecordsInsertedNull() - Method in class com.crankuptheamps.client.Message
-
Checks whether the RecordsInserted field is null.
- isRecordsReturnedNull() - Method in class com.crankuptheamps.client.Message
-
Checks whether the RecordsReturned field is null.
- isRecordsUpdatedNull() - Method in class com.crankuptheamps.client.Message
-
Checks whether the RecordsUpdated field is null.
- isSequenceNull() - Method in class com.crankuptheamps.client.Message
-
Checks whether the Sequence field is null.
- isSow() - Method in class com.crankuptheamps.client.Command
-
Returns true if this command queries a SOW.
- isSowKeyNull() - Method in class com.crankuptheamps.client.Message
-
Checks whether the SowKey field is null.
- isSowKeysNull() - Method in class com.crankuptheamps.client.Message
-
Checks whether the SowKeys field is null.
- isSubIdNull() - Method in class com.crankuptheamps.client.Message
-
Checks whether the SubId field is null.
- isSubIdsNull() - Method in class com.crankuptheamps.client.Message
-
Checks whether the SubIds field is null.
- isSubscribe() - Method in class com.crankuptheamps.client.Command
-
Returns true if this command creates a subscription.
- isTimestamp() - Method in class com.crankuptheamps.client.fields.BookmarkField
-
Indicates whether this bookmark value appears to be a timestamp.
- isTimestampNull() - Method in class com.crankuptheamps.client.Message
-
Checks whether the Timestamp field is null.
- isTopicMatchesNull() - Method in class com.crankuptheamps.client.Message
-
Checks whether the TopicMatches field is null.
- isTopicNull() - Method in class com.crankuptheamps.client.Message
-
Checks whether the Topic field is null.
- isTopNNull() - Method in class com.crankuptheamps.client.Message
-
Checks whether the TopN field is null.
- isUserIdNull() - Method in class com.crankuptheamps.client.Message
-
Checks whether the UserId field is null.
- isVersionNull() - Method in class com.crankuptheamps.client.Message
-
Checks whether the Version field is null.
- iterator() - Method in class com.crankuptheamps.client.MessageStream
-
Implements Iterable.iterator()
to return this instance.
- parse(String, AMPSTimestamp) - Static method in class com.crankuptheamps.client.AMPSTimestamp
-
Parse an AMPS timestamp from a string.
- parse(byte[], int, int, AMPSTimestamp) - Static method in class com.crankuptheamps.client.AMPSTimestamp
-
Parse an AMPS timestamp from a byte array.
- parse(Message) - Method in class com.crankuptheamps.client.CompositeMessageParser
-
Parses a composite message.
- parse(Field) - Method in class com.crankuptheamps.client.CompositeMessageParser
-
Parses a composite message's body.
- Parsed - Static variable in class com.crankuptheamps.client.Message.AckType
-
- Pause - Static variable in class com.crankuptheamps.client.Message.Options
-
Constant string for the pause
option.
- persisted(BookmarkField) - Method in class com.crankuptheamps.client.BookmarkRingBuffer
-
Mark all records up to the and including the provided bookmark as safe for discard and discard all appropriate
bookmarks.
- persisted(long) - Method in class com.crankuptheamps.client.BookmarkRingBuffer
-
Called internally by the Client to record the last persisted message in the transaction log of the connected AMPS server.
- persisted(Field, BookmarkField) - Method in interface com.crankuptheamps.client.BookmarkStore
-
Called internally by the Client to record the last persisted message in the transaction log of the connected AMPS server
to all of its sync replication destinations.
- persisted(Field, long) - Method in interface com.crankuptheamps.client.BookmarkStore
-
Called internally by the Client to record the last persisted message in the transaction log of the connected AMPS server.
- persisted(Field, BookmarkField) - Method in class com.crankuptheamps.client.DefaultBookmarkStore
-
- persisted(Field, long) - Method in class com.crankuptheamps.client.DefaultBookmarkStore
-
- persisted(Field, long) - Method in class com.crankuptheamps.client.LoggedBookmarkStore
-
- persisted(Field, BookmarkField) - Method in class com.crankuptheamps.client.LoggedBookmarkStore
-
- persisted(Field, long) - Method in class com.crankuptheamps.client.MemoryBookmarkStore
-
- persisted(Field, BookmarkField) - Method in class com.crankuptheamps.client.MemoryBookmarkStore
-
- Persisted - Static variable in class com.crankuptheamps.client.Message.AckType
-
- persisted(Field, BookmarkField) - Method in class com.crankuptheamps.client.RingBookmarkStore
-
Called internally by the Client to mark the message as safely persisted by AMPS to all of its sync replication
destinations.
- persisted(Field, long) - Method in class com.crankuptheamps.client.RingBookmarkStore
-
Called internally by the Client to mark a message as safely persisted by AMPS to all of its sync replication
destinations.
- persisted(long) - Method in interface com.crankuptheamps.client.Subscription
-
- persisted(BookmarkField) - Method in interface com.crankuptheamps.client.Subscription
-
- persistedAcks() - Method in class com.crankuptheamps.client.BookmarkRingBuffer
-
Called to check if persisted acks are expected.
- Pool<T> - Class in com.crankuptheamps.client
-
A simple generic instance pool for objects that take a while to construct.
- Pool(Class<T>, int) - Constructor for class com.crankuptheamps.client.Pool
-
Constructs a pool with the given size
- position - Variable in class com.crankuptheamps.client.fields.Field
-
- preInvoke(int) - Method in class com.crankuptheamps.client.DefaultDisconnectHandler
-
- preInvoke(int) - Method in interface com.crankuptheamps.client.TransportDisconnectHandler
-
Called before invoke by the transport with a monotonically increasing "connection version" integer
that is incremented upon each reconnect.
- prepare(Client) - Method in class com.crankuptheamps.client.Command
-
Binds self to a given client, preparing a message from that client to be sent.
- print(String, ByteBuffer) - Method in class com.crankuptheamps.client.TransportTraceFilter
-
Function to print the raw data.
- process(ByteBuffer, int, MessageHandler) - Method in class com.crankuptheamps.client.FIXProtocolParser
-
- process(ByteBuffer, int, MessageHandler) - Method in class com.crankuptheamps.client.JSONProtocolParser
-
- process(ByteBuffer, int, MessageHandler) - Method in interface com.crankuptheamps.client.ProtocolParser
-
Processes a region of a byte buffer into messages of a specific protocol and then invokes the specified message
handler for each message parsed from the bytes.
- process(ByteBuffer, int, MessageHandler) - Method in class com.crankuptheamps.client.XMLProtocolParser
-
- Processed - Static variable in class com.crankuptheamps.client.Message.AckType
-
- Projection(String) - Static method in class com.crankuptheamps.client.Message.Options
-
Formats the projection
option for an
aggregated subscription, which specifies the fields produced
by the aggregation.
- Projection(Iterable<String>) - Static method in class com.crankuptheamps.client.Message.Options
-
Formats the projection
option for an
aggregated subscription, which specifies the fields produced
by the aggregation.
- Protocol - Interface in com.crankuptheamps.client
-
Interface representing an AMPS wire protocol.
- ProtocolException - Exception in com.crankuptheamps.client.exception
-
Thrown when an error occurs with a Protocol specified by the user.
- ProtocolException() - Constructor for exception com.crankuptheamps.client.exception.ProtocolException
-
- ProtocolException(String) - Constructor for exception com.crankuptheamps.client.exception.ProtocolException
-
- ProtocolException(Throwable) - Constructor for exception com.crankuptheamps.client.exception.ProtocolException
-
- ProtocolException(String, Throwable) - Constructor for exception com.crankuptheamps.client.exception.ProtocolException
-
- ProtocolFactory - Class in com.crankuptheamps.client
-
Class which creates Protocols as well as registering and unregistering them from a Java Map.
- ProtocolFactory() - Constructor for class com.crankuptheamps.client.ProtocolFactory
-
- ProtocolNotFoundException - Exception in com.crankuptheamps.client.exception
-
Thrown when a protocol type could not be found.
- ProtocolNotFoundException() - Constructor for exception com.crankuptheamps.client.exception.ProtocolNotFoundException
-
- ProtocolNotFoundException(String) - Constructor for exception com.crankuptheamps.client.exception.ProtocolNotFoundException
-
- ProtocolNotFoundException(Throwable) - Constructor for exception com.crankuptheamps.client.exception.ProtocolNotFoundException
-
- ProtocolNotFoundException(String, Throwable) - Constructor for exception com.crankuptheamps.client.exception.ProtocolNotFoundException
-
- ProtocolParser - Interface in com.crankuptheamps.client
-
Interface that parses an AMPS wire transport protocol.
- prune() - Method in class com.crankuptheamps.client.LoggedBookmarkStore
-
Remove outdated entries in the bookmark store.
- prune(String) - Method in class com.crankuptheamps.client.LoggedBookmarkStore
-
Remove outdated entries in the bookmark store.
- publish(byte[], int, int, byte[], int, int) - Method in class com.crankuptheamps.client.Client
-
Publish a message to an AMPS topic.
- publish(String, String) - Method in class com.crankuptheamps.client.Client
-
Publish a message to an AMPS topic.
- publish(byte[], int, int, byte[], int, int, int) - Method in class com.crankuptheamps.client.Client
-
Publish a message to an AMPS topic.
- publish(String, String, int) - Method in class com.crankuptheamps.client.Client
-
Publish a message to an AMPS topic.
- Publish - Static variable in class com.crankuptheamps.client.Message.Command
-
- publishFlush() - Method in class com.crankuptheamps.client.Client
-
Ensures that AMPS messages are sent and have been processed by the
AMPS server.
- publishFlush(long) - Method in class com.crankuptheamps.client.Client
-
Ensures that AMPS messages are sent and have been processed by the
AMPS server.
- PublishReplayed - Static variable in interface com.crankuptheamps.client.ConnectionStateListener
-
Constant passed when the client completes replay of messages saved in
its publish store after logon.
- PublishStore - Class in com.crankuptheamps.client
-
PublishStore is a memory-mapped file-backed store for storing outgoing messages.
- PublishStore(String) - Constructor for class com.crankuptheamps.client.PublishStore
-
Creates a new PublishStore with the given path.
- PublishStore(String, int) - Constructor for class com.crankuptheamps.client.PublishStore
-
Creates a new PublishStore with the given path.
- PublishStoreResizeHandler - Interface in com.crankuptheamps.client
-
Interface used to control the size of the Publish Store.
- purge() - Method in interface com.crankuptheamps.client.BookmarkStore
-
Call this when you want to purge the contents of this store.
- purge(Field) - Method in interface com.crankuptheamps.client.BookmarkStore
-
Call this when you want to purge the contents of this store for a given subscription ID.
- purge() - Method in class com.crankuptheamps.client.DefaultBookmarkStore
-
- purge(Field) - Method in class com.crankuptheamps.client.DefaultBookmarkStore
-
- purge() - Method in class com.crankuptheamps.client.LoggedBookmarkStore
-
Remove all entries in the bookmark store, completely
clearing all record of messages received and discarded.
- purge(Field) - Method in class com.crankuptheamps.client.LoggedBookmarkStore
-
- purge() - Method in class com.crankuptheamps.client.MemoryBookmarkStore
-
- purge(Field) - Method in class com.crankuptheamps.client.MemoryBookmarkStore
-
- purge() - Method in class com.crankuptheamps.client.RingBookmarkStore
-
Call this when you want to purge the contents of this store.
- purge(Field) - Method in class com.crankuptheamps.client.RingBookmarkStore
-
Call this when you want to purge the contents of this store for a given Subscription Id.
- putByte(byte) - Method in class com.crankuptheamps.client.ArrayStoreBuffer
-
Writes the byte into the buffer.
- putByte(byte) - Method in interface com.crankuptheamps.client.BlockPublishStore.Buffer
-
- putByte(byte) - Method in class com.crankuptheamps.client.MemoryStoreBuffer
-
Writes the byte in the buffer.
- putBytes(BlockPublishStore.ByteSequence) - Method in class com.crankuptheamps.client.ArrayStoreBuffer
-
- putBytes(byte[], long, long) - Method in class com.crankuptheamps.client.ArrayStoreBuffer
-
Writes a series of bytes at the current position, taken from a byte array.
- putBytes(BlockPublishStore.ByteSequence) - Method in interface com.crankuptheamps.client.BlockPublishStore.Buffer
-
- putBytes(byte[], long, long) - Method in interface com.crankuptheamps.client.BlockPublishStore.Buffer
-
- putBytes(BlockPublishStore.ByteSequence) - Method in class com.crankuptheamps.client.MemoryStoreBuffer
-
- putBytes(byte[], long, long) - Method in class com.crankuptheamps.client.MemoryStoreBuffer
-
Writes a series of bytes at the current position, taken from a byte array.
- putInt(int) - Method in class com.crankuptheamps.client.ArrayStoreBuffer
-
Writes the integer into the buffer.
- putInt(long, int) - Method in class com.crankuptheamps.client.ArrayStoreBuffer
-
Puts the integer into the buffer.
- putInt(int) - Method in interface com.crankuptheamps.client.BlockPublishStore.Buffer
-
- putInt(long, int) - Method in interface com.crankuptheamps.client.BlockPublishStore.Buffer
-
- putInt(int) - Method in class com.crankuptheamps.client.MemoryStoreBuffer
-
Writes the integer into the buffer.
- putInt(long, int) - Method in class com.crankuptheamps.client.MemoryStoreBuffer
-
Writes the integer into the buffer.
- putLong(long) - Method in class com.crankuptheamps.client.ArrayStoreBuffer
-
Writes the long into the buffer.
- putLong(long, long) - Method in class com.crankuptheamps.client.ArrayStoreBuffer
-
Writes the long into the buffer.
- putLong(long) - Method in interface com.crankuptheamps.client.BlockPublishStore.Buffer
-
- putLong(long, long) - Method in interface com.crankuptheamps.client.BlockPublishStore.Buffer
-
- putLong(long) - Method in class com.crankuptheamps.client.MemoryStoreBuffer
-
Writes the long to the buffer.
- putLong(long, long) - Method in class com.crankuptheamps.client.MemoryStoreBuffer
-
Writes the long to the buffer.
- second - Variable in class com.crankuptheamps.client.AMPSTimestamp
-
Seconds part of this timestamp.
- Select(String) - Static method in class com.crankuptheamps.client.Message.Options
-
Formats the select
option for a subscription
or SOW query, which specifies the fields produced
in the delivered messages.
- Select(Iterable<String>) - Static method in class com.crankuptheamps.client.Message.Options
-
Formats the select
option for a subscription
or SOW query, which specifies the fields produced
in the delivered messages.
- send(Message) - Method in class com.crankuptheamps.client.Client
-
- send(MessageHandler, Message, long) - Method in class com.crankuptheamps.client.Client
-
Send a
Message
to AMPS and register the messageHandler for any messages
resulting from the command execution.
- send(Message) - Method in class com.crankuptheamps.client.TCPTransport
-
- send(ByteBuffer) - Method in class com.crankuptheamps.client.TCPTransportImpl
-
- send(Message) - Method in interface com.crankuptheamps.client.Transport
-
- SendKeys - Static variable in class com.crankuptheamps.client.Message.Options
-
Constant string for the send_keys
option.
- sendWithoutRetry(Message) - Method in class com.crankuptheamps.client.TCPTransport
-
- sendWithoutRetry(Message) - Method in interface com.crankuptheamps.client.Transport
-
- SEPARATOR_CHAR - Static variable in class com.crankuptheamps.client.fields.BookmarkField
-
The character used to separate components of a bookmark, and to
separate bookmarks from each other in a list.
- SerializableFunction<T,R> - Interface in com.crankuptheamps.client.util
-
This generic utility interface has been added to the AMPS client to better
support interoperability with other AMPS components and third-party software.
- serialize(ByteBuffer) - Method in class com.crankuptheamps.client.XMLMessage
-
Serializes the XML message properties.
- ServerChooser - Interface in com.crankuptheamps.client
-
Interface for choosing amongst multiple instances for both initial connection
and reconnection.
- set(byte[], int, int) - Method in class com.crankuptheamps.client.CommandId
-
Sets the CommandId for the AMPS command.
- set(byte[], int, int) - Method in class com.crankuptheamps.client.fields.Field
-
Sets the value of this instance with the specified region of a byte buffer.
- set(byte[]) - Method in class com.crankuptheamps.client.fields.Field
-
Sets the value of this instance with the specified buffer.
- set(String) - Method in class com.crankuptheamps.client.HashBox
-
- set(byte[], int, int) - Method in class com.crankuptheamps.client.HashBox
-
- set(int) - Method in class com.crankuptheamps.client.HashBox
-
- setAckBatchSize(int) - Method in class com.crankuptheamps.client.Client
-
Sets the current ACK batch size.
- setAcksOnly(CommandId, int) - Method in class com.crankuptheamps.client.MessageStream
-
- setAckTimeout(long) - Method in class com.crankuptheamps.client.Client
-
Sets the ack timeout -- the maximum time to let a success ack be cached before sending.
- setAckType(int) - Method in class com.crankuptheamps.client.Command
-
Set the ackType for this command.
- setAckType(int) - Method in class com.crankuptheamps.client.Message
-
Sets the type of acknowledgement for an acknowledgement Message.
- setAckType(String) - Method in class com.crankuptheamps.client.Message
-
Sets the type of acknowledgement for an acknowledgement Message.
- setActive(boolean) - Method in class com.crankuptheamps.client.BookmarkRingBuffer.Entry
-
Sets the active value of the Entry.
- setAutoAck(boolean) - Method in class com.crankuptheamps.client.Client
-
Enables or disables auto-acking.
- setBackoffExponent(double) - Method in class com.crankuptheamps.client.ExponentialDelayStrategy
-
Sets the exponent to use for calculating the next delay time.
- setBatchSize(int) - Method in class com.crankuptheamps.client.Command
-
Set the batchSize for this command.
- setBatchSize(int) - Method in class com.crankuptheamps.client.Message
-
Sets the BatchSize for this Message.
- setBookmark(Field) - Method in class com.crankuptheamps.client.BookmarkRingBuffer.Entry
-
Sets the bookmark field of the Entry.
- setBookmark(String) - Method in class com.crankuptheamps.client.Command
-
Set the bookmark for this command.
- setBookmark(String) - Method in class com.crankuptheamps.client.Message
-
Sets the value for the AMPS Bookmark.
- setBookmark(byte[], int, int) - Method in class com.crankuptheamps.client.Message
-
Sets the value for the AMPS Bookmark.
- setBookmarkSeqNo(long) - Method in class com.crankuptheamps.client.Message
-
Sets the bookmark sequence number for this Message.
- setBookmarkStore(BookmarkStore) - Method in class com.crankuptheamps.client.Client
-
Sets the underlying bookmark store, which is used to track
which messages the client has received and which messages have
been processed by the program.
- setBuffer(byte[]) - Method in class com.crankuptheamps.client.Message
-
Sets the byte buffer used for this Message.
- setClientName(String) - Method in class com.crankuptheamps.client.Message
-
Sets the name of the Client sending the Message.
- setClientName(byte[], int, int) - Method in class com.crankuptheamps.client.Message
-
Sets the name of the Client sending the Message.
- setClientSequenceNumber(long) - Method in class com.crankuptheamps.client.Command
-
Sets the client sequence number for this command.
- setCommand(int) - Method in class com.crankuptheamps.client.Command
-
Set the command type for this command.
- setCommand(int) - Method in class com.crankuptheamps.client.Message
-
Sets the Command for this Message, indicating the type of
of Message this is.
- setCommand(String) - Method in class com.crankuptheamps.client.Message
-
Sets the Command for this Message, indicating the type of
of Message this is.
- setCommandId(CommandId) - Method in class com.crankuptheamps.client.Command
-
Set the commandId for this command.
- setCommandId(String) - Method in class com.crankuptheamps.client.Message
-
Sets the CommandId on this Message.
- setCommandId(CommandId) - Method in class com.crankuptheamps.client.Message
-
Sets the CommandId on this Message.
- setCommandId(byte[], int, int) - Method in class com.crankuptheamps.client.Message
-
Sets the CommandId on this Message.
- setConnectTimeout(int) - Method in class com.crankuptheamps.client.TCPTransportImpl
-
- setCorrelationId(String) - Method in class com.crankuptheamps.client.Command
-
Sets the correlation Id for this command.
- setCorrelationId(String) - Method in class com.crankuptheamps.client.Message
-
Set the CorrelationId on this message.
- setDaemon(boolean) - Static method in class com.crankuptheamps.client.TCPTransport
-
- setData(String) - Method in class com.crankuptheamps.client.Command
-
Set the data for this command.
- setData(byte[], int, int) - Method in class com.crankuptheamps.client.Command
-
Set the data for this command.
- setData(CompositeMessageBuilder) - Method in class com.crankuptheamps.client.Command
-
Set the data for this command.
- setData(String) - Method in class com.crankuptheamps.client.Message
-
Sets the payload of the Message.
- setData(byte[], int, int) - Method in class com.crankuptheamps.client.Message
-
Sets the payload of the Message.
- setDefaultConnectTimeout(int) - Static method in class com.crankuptheamps.client.TCPTransport
-
Returns the default connect timeout used for new connections.
- setDefaultEnabledCipherSuites(String[]) - Static method in class com.crankuptheamps.client.TCPSTransport
-
Sets the cipher suites that will be enabled on SSLSockets.
- setDefaultEnabledProtocols(String[]) - Static method in class com.crankuptheamps.client.TCPSTransport
-
Sets the protocols that will be enabled on SSLSockets.
- setDefaultMaxDepth(int) - Method in class com.crankuptheamps.client.Client
-
Sets the default value used for the max depth of
MessageStream
instances created by this client.
- setDefaultReadTimeout(int) - Static method in class com.crankuptheamps.client.TCPTransport
-
Sets the default read timeout used for socket reads.
- setDefaultResubscriptionTimeout(long) - Static method in class com.crankuptheamps.client.MemorySubscriptionManager
-
Sets the Default Resubscription Timeout for all instances of
this class in milliseconds.
- setDefaultSSLContext(SSLContext) - Static method in class com.crankuptheamps.client.TCPSTransport
-
Sets the default SSL Context used for new connections.
- setDisconnectHandler(ClientDisconnectHandler) - Method in class com.crankuptheamps.client.Client
-
- setDisconnectHandler(TransportDisconnectHandler) - Method in class com.crankuptheamps.client.TCPTransport
-
- setDisconnectHandler(TransportDisconnectHandler) - Method in class com.crankuptheamps.client.TCPTransportImpl
-
- setDisconnectHandler(TransportDisconnectHandler) - Method in interface com.crankuptheamps.client.Transport
-
- setDuplicateMessageHandler(MessageHandler) - Method in class com.crankuptheamps.client.Client
-
- setExceptionListener(ExceptionListener) - Method in class com.crankuptheamps.client.Client
-
Sets the ExceptionListener
instance used for communicating absorbed exceptions.
- setExceptionListener(ExceptionListener) - Method in class com.crankuptheamps.client.TCPTransport
-
- setExceptionListener(ExceptionListener) - Method in class com.crankuptheamps.client.TCPTransportImpl
-
- setExceptionListener(ExceptionListener) - Method in interface com.crankuptheamps.client.Transport
-
- setExpiration(int) - Method in class com.crankuptheamps.client.Command
-
Set the expiration for this command.
- setExpiration(int) - Method in class com.crankuptheamps.client.Message
-
Sets the Expiration field for this Message.
- setFailedWriteHandler(FailedWriteHandlerV4) - Method in class com.crankuptheamps.client.Client
-
Sets the
FailedWriteHandler
instance used to report on failed
messages that have been written.
- setFailedWriteHandler(FailedWriteHandler) - Method in class com.crankuptheamps.client.Client
-
Sets the
FailedWriteHandler
instance used to report on failed
messages that have been written.
- setField(Field) - Method in class com.crankuptheamps.client.CompositeMessageBuilder
-
Sets a Field with the contents of this object.
- setFilter(String) - Method in class com.crankuptheamps.client.Command
-
Set the filter for this command.
- setFilter(String) - Method in class com.crankuptheamps.client.Message
-
Sets the Filter field on this Message.
- setFilter(byte[], int, int) - Method in class com.crankuptheamps.client.Message
-
Sets the Filter field on this Message.
- setGroupSeqNo(long) - Method in class com.crankuptheamps.client.Message
-
Set the group sequence number.
- setHeartbeat(int, int) - Method in class com.crankuptheamps.client.Client
-
Requests a server heartbeat, and configures the client to close the connection
if a heartbeat (or other activity) is not seen on the connection.
- setHeartbeat(int) - Method in class com.crankuptheamps.client.Client
-
Requests a server heartbeat, and configures the client to close the connection
if a heartbeat (or other activity) is not seen on the connection after two heartbeat intervals.
- setIdleRunnable(AMPSRunnable) - Method in class com.crankuptheamps.client.TCPTransport
-
- setIdleRunnable(AMPSRunnable) - Method in class com.crankuptheamps.client.TCPTransportImpl
-
- setIdleRunnable(AMPSRunnable) - Method in interface com.crankuptheamps.client.Transport
-
Sets a
AMPSRunnable
that is invoked during idle-time processing for this connection.
- setIgnoreAutoAck() - Method in class com.crankuptheamps.client.Message
-
Used to disable automatic acking of this Message by the Client
after the
MessageHandler
completes.
- setIndex(long) - Method in class com.crankuptheamps.client.BookmarkRingBuffer.Entry
-
Sets the index of the Entry in the Entry array.
- setInitialDelay(int) - Method in class com.crankuptheamps.client.ExponentialDelayStrategy
-
Sets the time (in milliseconds) to wait before reconnecting to
a server for the first time after a failed connection.
- setJitter(double) - Method in class com.crankuptheamps.client.ExponentialDelayStrategy
-
Sets the jitter factor used to add randomness to the delay time.
- setLastChanceMessageHandler(MessageHandler) - Method in class com.crankuptheamps.client.Client
-
- setLastPersisted(long) - Method in interface com.crankuptheamps.client.Subscription
-
- setLastPersisted(BookmarkField) - Method in interface com.crankuptheamps.client.Subscription
-
- setLength(int) - Method in class com.crankuptheamps.client.Message
-
Sets the Length of the Message.
- setLogonCorrelationData(String) - Method in class com.crankuptheamps.client.Client
-
Sets the uninterpreted logon correlation information a client sends
at logon to aid in searching server log files for specific clients.
- setLogonOptions(String) - Method in class com.crankuptheamps.client.HAClient
-
Sets a logon options string for self.
- setLowWatermark(int) - Method in class com.crankuptheamps.client.HybridPublishStore
-
Sets the low watermark; once we start swapping out to disk, we
keep going until the number of entries in memory is lower than this.
- setMatches(long) - Method in class com.crankuptheamps.client.Message
-
Sets the matches field on this Message.
- setMaximumDelay(int) - Method in class com.crankuptheamps.client.ExponentialDelayStrategy
-
Sets the maximum time to wait between any reconnection attempts.
- setMaximumRetryTime(int) - Method in class com.crankuptheamps.client.ExponentialDelayStrategy
-
Sets the time (in millseconds) to allow reconnect attempts to
continue without a successful connection, before "giving up" and
abandoning the connection attempt.
- setMessage(Message) - Method in class com.crankuptheamps.client.BlockPublishStore
-
- setMessage(Message) - Method in class com.crankuptheamps.client.HybridPublishStore
-
- setMessage(Message) - Method in interface com.crankuptheamps.client.Store
-
Provide the Store with a preallocated Message for use in replay.
- setMessageHandler(MessageHandler) - Method in class com.crankuptheamps.client.TCPTransport
-
- setMessageHandler(MessageHandler) - Method in class com.crankuptheamps.client.TCPTransportImpl
-
- setMessageHandler(MessageHandler) - Method in interface com.crankuptheamps.client.Transport
-
- setMessageType(String) - Method in class com.crankuptheamps.client.Message
-
Sets the MessageType on this client.
- setOptions(String) - Method in class com.crankuptheamps.client.Command
-
Set the options for this command.
- setOptions(String) - Method in class com.crankuptheamps.client.Message
-
Sets the Options for the Message.
- setOrderBy(String) - Method in class com.crankuptheamps.client.Command
-
Set the orderBy clause for this command.
- setOrderBy(String) - Method in class com.crankuptheamps.client.Message
-
Set the OrderBy parameter for this Message.
- setOrderBy(byte[], int, int) - Method in class com.crankuptheamps.client.Message
-
Set the OrderBy parameter for this Message.
- setPassword(String) - Method in class com.crankuptheamps.client.Message
-
Set the Password on the Message.
- setPassword(byte[], int, int) - Method in class com.crankuptheamps.client.Message
-
Set the Password on the Message.
- setPersisted(boolean) - Method in class com.crankuptheamps.client.BookmarkRingBuffer.Entry
-
Sets the persisted value of the Entry.
- setPersistedAcks() - Method in class com.crankuptheamps.client.BookmarkRingBuffer
-
Called to indicate that the server will provide persisted acks for the bookmarks.
- setPersistedAcks() - Method in interface com.crankuptheamps.client.Subscription
-
- setPosition(long) - Method in class com.crankuptheamps.client.ArrayStoreBuffer
-
Sets the current position in the buffer.
- setPosition(long) - Method in interface com.crankuptheamps.client.BlockPublishStore.Buffer
-
- setPosition(long) - Method in class com.crankuptheamps.client.MemoryStoreBuffer
-
Sets the new current position in the buffer.
- setPublishStore(Store) - Method in class com.crankuptheamps.client.Client
-
Sets the underlying publish store, which is used to store
published messages until the AMPS instance has acknowledged
those messages.
- setQueryId(CommandId) - Method in class com.crankuptheamps.client.Command
-
Set the queryId for this command.
- setQueryId(String) - Method in class com.crankuptheamps.client.Message
-
Sets the QueryId field for this Message.
- setQueryId(CommandId) - Method in class com.crankuptheamps.client.Message
-
Sets the QueryId field for this Message by copying it from a CommandId object.
- setQueryId(byte[], int, int) - Method in class com.crankuptheamps.client.Message
-
Sets the QueryId for this Message.
- setQueryId(CommandId) - Method in class com.crankuptheamps.client.MessageStream
-
When this message stream is the result of a SOW command, this gets called with the query ID of the command.
- setRawBufferLength(int) - Method in class com.crankuptheamps.client.Message
-
Sets the length of the Message within the byte buffer.
- setRawBufferOffset(int) - Method in class com.crankuptheamps.client.Message
-
Sets the Offset into the byte buffer where this Message begins.
- setReadTimeout(int) - Method in class com.crankuptheamps.client.TCPTransport
-
- setReadTimeout(int) - Method in class com.crankuptheamps.client.TCPTransportImpl
-
- setReadTimeout(int) - Method in interface com.crankuptheamps.client.Transport
-
- setReason(int) - Method in class com.crankuptheamps.client.Message
-
Sets the Reason value of this Message.
- setReconnectDelay(int) - Method in class com.crankuptheamps.client.HAClient
-
Sets the time delay between reconnect events.
- setReconnectDelayStrategy(ReconnectDelayStrategy) - Method in class com.crankuptheamps.client.HAClient
-
- setRecordsDeleted(long) - Method in class com.crankuptheamps.client.Message
-
Sets the records deleted header field.
- setRecordsInserted(long) - Method in class com.crankuptheamps.client.Message
-
Returns the number of records inserted for the command that this Message
was produced in response to.
- setRecordsReturned(long) - Method in class com.crankuptheamps.client.Message
-
Sets the records returned header field.
- setRecordsUpdated(long) - Method in class com.crankuptheamps.client.Message
-
Sets the records updated header field.
- setRecovery() - Method in class com.crankuptheamps.client.BookmarkRingBuffer
-
If there are presently no recovery entries in the ring buffer, this will convert all of the entries in the
buffer into recovery entries.
- setResizeHandler(PublishStoreResizeHandler) - Method in class com.crankuptheamps.client.BlockPublishStore
-
- setResizeHandler(BookmarkStoreResizeHandler, BookmarkStore) - Method in class com.crankuptheamps.client.BookmarkRingBuffer
-
Call this when you want to set a resize handler that is invoked when a store needs a resize.
- setResizeHandler(BookmarkStoreResizeHandler) - Method in interface com.crankuptheamps.client.BookmarkStore
-
Called this when you want to set a resize handler that is invoked when the store needs to resize.
- setResizeHandler(BookmarkStoreResizeHandler) - Method in class com.crankuptheamps.client.DefaultBookmarkStore
-
- setResizeHandler(PublishStoreResizeHandler) - Method in class com.crankuptheamps.client.HybridPublishStore
-
- setResizeHandler(BookmarkStoreResizeHandler) - Method in class com.crankuptheamps.client.LoggedBookmarkStore
-
- setResizeHandler(BookmarkStoreResizeHandler) - Method in class com.crankuptheamps.client.MemoryBookmarkStore
-
- setResizeHandler(BookmarkStoreResizeHandler) - Method in class com.crankuptheamps.client.RingBookmarkStore
-
Call this when you want to set a resize handler that is invoked when the store needs to resize.
- setResizeHandler(PublishStoreResizeHandler) - Method in interface com.crankuptheamps.client.Store
-
Set the resize handler for the publish store.
- setResizeHandler(BookmarkStoreResizeHandler, BookmarkStore) - Method in interface com.crankuptheamps.client.Subscription
-
- setResubscriptionTimeout(long) - Method in class com.crankuptheamps.client.MemorySubscriptionManager
-
Sets the Resubscription timeout in milliseconds.
- setRetryOnDisconnect(boolean) - Method in class com.crankuptheamps.client.Client
-
Set whether or not messages being sent to the server should retry if the
client is disconnected.
- setRunning() - Method in class com.crankuptheamps.client.MessageStream
-
- setSequence(long) - Method in class com.crankuptheamps.client.Message
-
Sets the sequence number for this Message.
- setServerChooser(ServerChooser) - Method in class com.crankuptheamps.client.HAClient
-
- setServerVersion(int) - Method in interface com.crankuptheamps.client.BookmarkStore
-
Called internally by the Client when connected to an AMPS server to indicate
what version the server is.
- setServerVersion(int) - Method in class com.crankuptheamps.client.DefaultBookmarkStore
-
- setServerVersion(int) - Method in class com.crankuptheamps.client.LoggedBookmarkStore
-
Used to change the version of the AMPS server that this bookmark store's
client has connected to.
- setServerVersion(int) - Method in class com.crankuptheamps.client.MemoryBookmarkStore
-
- setServerVersion(int) - Method in class com.crankuptheamps.client.RingBookmarkStore
-
Called internally by the Client when connected to an AMPS server to indicate what version the server is.
- setSize(long) - Method in class com.crankuptheamps.client.ArrayStoreBuffer
-
Sets the size of the back buffer.
- setSize(long) - Method in interface com.crankuptheamps.client.BlockPublishStore.Buffer
-
- setSize(long) - Method in class com.crankuptheamps.client.MemoryStoreBuffer
-
Sets the size of the buffer.
- setSOWKey(String) - Method in class com.crankuptheamps.client.Command
-
Deprecated.
Use setSowKey() instead.
- setSowKey(String) - Method in class com.crankuptheamps.client.Command
-
The SowKey for a command is used to publish to a SOW topic with
explicit keys set by the user rather than AMPS.
- setSowKey(String) - Method in class com.crankuptheamps.client.Message
-
Sets the SowKey for this Message.
- setSowKey(byte[], int, int) - Method in class com.crankuptheamps.client.Message
-
Sets the SowKey for this Message.
- setSowKeys(String) - Method in class com.crankuptheamps.client.Command
-
The SowKeys for a command are a comma-separated list
of the keys that AMPS assigns to SOW messages.
- setSOWKeys(String) - Method in class com.crankuptheamps.client.Command
-
Deprecated.
Use setSowKeys() instead.
- setSowKeys(String) - Method in class com.crankuptheamps.client.Message
-
Sets the set of SowKeys this message applies to, as a comma-delimited
list of identifiers.
- setSowKeys(byte[], int, int) - Method in class com.crankuptheamps.client.Message
-
Sets the set of SowKeys this message applies to, as a comma-delimited
list of identifiers.
- setSOWOnly() - Method in class com.crankuptheamps.client.MessageStream
-
- setStatsOnly() - Method in class com.crankuptheamps.client.MessageStream
-
- setStatus(int) - Method in class com.crankuptheamps.client.Message
-
Sets the Status of this Message.
- setSubId(Field) - Method in class com.crankuptheamps.client.BookmarkRingBuffer
-
Sets the Subscription Identifier for the bookmark.
- setSubId(CommandId) - Method in class com.crankuptheamps.client.Command
-
Set the subId for this command.
- setSubId(String) - Method in class com.crankuptheamps.client.Command
-
Set the subId for this command.
- setSubId(String) - Method in class com.crankuptheamps.client.Message
-
Sets the SubId of this Message.
- setSubId(CommandId) - Method in class com.crankuptheamps.client.Message
-
Sets the SubId of this Message by copying it from a CommandId object.
- setSubId(byte[], int, int) - Method in class com.crankuptheamps.client.Message
-
Sets the SubId of this Message.
- setSubIds(String) - Method in class com.crankuptheamps.client.Message
-
The set of SubIds for this message.
- setSubIds(byte[], int, int) - Method in class com.crankuptheamps.client.Message
-
The set of SubIds for this message.
- setSubscription(Subscription) - Method in class com.crankuptheamps.client.Message
-
Sets the Subscription for this Message.
- setSubscription(CommandId) - Method in class com.crankuptheamps.client.MessageStream
-
When this message stream is the result of a subscription command, this gets called with the subscription ID.
- setSubscriptionManager(SubscriptionManager) - Method in class com.crankuptheamps.client.Client
-
- setTimeout(long) - Method in class com.crankuptheamps.client.Command
-
Set the timeout for this command.
- setTimeout(int) - Method in class com.crankuptheamps.client.HAClient
-
Sets the timeout used for logging on and resubscribing, once a connection
is re-established.
- setTimestamp(String) - Method in class com.crankuptheamps.client.Message
-
Sets the Timestamp for this Message.
- setTimestamp(byte[], int, int) - Method in class com.crankuptheamps.client.Message
-
Sets the timestamp for this message.
- setTopic(String) - Method in class com.crankuptheamps.client.Command
-
Set the topic for this command.
- setTopic(byte[], int, int) - Method in class com.crankuptheamps.client.Command
-
Set the topic for this command from raw bytes.
- setTopic(String) - Method in class com.crankuptheamps.client.Message
-
Set the topic that the message applies to.
- setTopic(byte[], int, int) - Method in class com.crankuptheamps.client.Message
-
Set the topic that the message applies to.
- setTopicMatches(long) - Method in class com.crankuptheamps.client.Message
-
Sets the topic matches field on this message.
- setTopN(int) - Method in class com.crankuptheamps.client.Command
-
Set the topN value for this command.
- setTopN(long) - Method in class com.crankuptheamps.client.Message
-
Set the TopN parameter for this message.
- setTransportFilter(TransportFilter) - Method in class com.crankuptheamps.client.TCPTransport
-
- setTransportFilter(TransportFilter) - Method in class com.crankuptheamps.client.TCPTransportImpl
-
- setTransportFilter(TransportFilter) - Method in interface com.crankuptheamps.client.Transport
-
Sets a TransportFilter that filters raw bytes before send and after receive.
- setUnhandledMessageHandler(MessageHandler) - Method in class com.crankuptheamps.client.Client
-
- setUserId(String) - Method in class com.crankuptheamps.client.Message
-
Set the UserId for this message.
- setUserId(byte[], int, int) - Method in class com.crankuptheamps.client.Message
-
Set the UserId for this message.
- setValue(int) - Method in class com.crankuptheamps.client.fields.AckTypeField
-
This method sets the value of the AckType to an integer according to the action that has
been performed on the AckType.
- setValue(boolean) - Method in class com.crankuptheamps.client.fields.BooleanField
-
Sets the value of the boolean field.
- setValue(int) - Method in class com.crankuptheamps.client.fields.CommandField
-
This method sets the value of the Command.
- setValue(int) - Method in class com.crankuptheamps.client.fields.IntegerField
-
Sets the value of this integer field using the specified Java 32-bit signed intger.
- setValue(long) - Method in class com.crankuptheamps.client.fields.LongField
-
Sets the value of this long field using the specified Java 64-bit signed integer.
- setValue(byte[], int, int) - Method in class com.crankuptheamps.client.fields.OptionsField
-
- setValue(String, CharsetEncoder) - Method in class com.crankuptheamps.client.fields.OptionsField
-
- setValue(int) - Method in class com.crankuptheamps.client.fields.ReasonField
-
Sets the value of this reason field using the specified reason code integer.
- setValue(int) - Method in class com.crankuptheamps.client.fields.StatusField
-
Sets the value of this status field using the specified status code integer.
- setValue(byte[], int, int) - Method in class com.crankuptheamps.client.fields.StringField
-
Sets the value of this instance with the specified region of a byte buffer.
- setValue(CommandId) - Method in class com.crankuptheamps.client.fields.StringField
-
Sets the value of this instance with the specified buffer from the command ID object.
- setValue(String, CharsetEncoder) - Method in class com.crankuptheamps.client.fields.StringField
-
Sets the value of this instance from the specified string.
- setVersion(String) - Method in class com.crankuptheamps.client.Message
-
Sets the version field of this message.
- setVersion(byte[], int, int) - Method in class com.crankuptheamps.client.Message
-
Sets the version field of this message.
- setVersionString(String) - Method in class com.crankuptheamps.client.VersionInfo
-
- Shutdown - Static variable in interface com.crankuptheamps.client.ConnectionStateListener
-
Constant passed when the client disconnects and won't reconnect.
- SkipN(int) - Static method in class com.crankuptheamps.client.Message.Options
-
Formats the skip_n
option for a
sow
or sow_and_subscribe
command.
- socket() - Method in class com.crankuptheamps.client.TCPTransport
-
- socket() - Method in class com.crankuptheamps.client.TCPTransportImpl
-
- sow(String, String) - Method in class com.crankuptheamps.client.Client
-
Synchronously execute a SOW query.
- sow(String) - Method in class com.crankuptheamps.client.Client
-
Synchronously execute a SOW query.
- sow(MessageHandler, String, String, String, String, int, int, String, long) - Method in class com.crankuptheamps.client.Client
-
Executes a SOW query.
- sow(MessageHandler, String, String, int, String, long) - Method in class com.crankuptheamps.client.Client
-
Executes a SOW query.
- sow(MessageHandler, String, String, int, long) - Method in class com.crankuptheamps.client.Client
-
Executes a SOW query.
- sow(MessageHandler, String, int, long) - Method in class com.crankuptheamps.client.Client
-
Executes a SOW query.
- sow(MessageHandler, String, long) - Method in class com.crankuptheamps.client.Client
-
Executes a SOW query.
- SOW - Static variable in class com.crankuptheamps.client.Message.Command
-
- sowAndDeltaSubscribe(MessageHandler, String, String, String, int, int, String, long) - Method in class com.crankuptheamps.client.Client
-
Executes a SOW query and places a delta subscription.
- sowAndDeltaSubscribe(MessageHandler, String, String, int, boolean, boolean, String, long) - Method in class com.crankuptheamps.client.Client
-
Executes a SOW query and places a delta subscription.
- sowAndDeltaSubscribe(MessageHandler, String, String, int, boolean, boolean, long) - Method in class com.crankuptheamps.client.Client
-
Executes a SOW query and places a delta subscription.
- sowAndDeltaSubscribe(MessageHandler, String, String, int, long) - Method in class com.crankuptheamps.client.Client
-
Executes a SOW query and places a delta subscription.
- sowAndDeltaSubscribe(MessageHandler, String, int, long) - Method in class com.crankuptheamps.client.Client
-
Executes a SOW query and places a delta subscription.
- sowAndDeltaSubscribe(MessageHandler, String, long) - Method in class com.crankuptheamps.client.Client
-
Executes a SOW query and places a delta subscription.
- SOWAndDeltaSubscribe - Static variable in class com.crankuptheamps.client.Message.Command
-
- sowAndSubscribe(String, String) - Method in class com.crankuptheamps.client.Client
-
Executes a SOW query and places a subscription.
- sowAndSubscribe(String) - Method in class com.crankuptheamps.client.Client
-
Executes a SOW query and places a subscription.
- sowAndSubscribe(MessageHandler, String, String, String, String, int, int, String, long) - Method in class com.crankuptheamps.client.Client
-
Executes a SOW query and places a subscription.
- sowAndSubscribe(MessageHandler, String, String, int, String, long) - Method in class com.crankuptheamps.client.Client
-
Executes a SOW query and places a subscription.
- sowAndSubscribe(MessageHandler, String, String, int, boolean, long) - Method in class com.crankuptheamps.client.Client
-
Executes a SOW query and places a subscription.
- sowAndSubscribe(MessageHandler, String, String, int, long) - Method in class com.crankuptheamps.client.Client
-
Executes a SOW query and places a subscription.
- sowAndSubscribe(MessageHandler, String, int, long) - Method in class com.crankuptheamps.client.Client
-
Executes a SOW query and places a subscription.
- sowAndSubscribe(MessageHandler, String, long) - Method in class com.crankuptheamps.client.Client
-
Executes a SOW query and places a subscription.
- SOWAndSubscribe - Static variable in class com.crankuptheamps.client.Message.Command
-
- sowDelete(MessageHandler, String, String, String, long) - Method in class com.crankuptheamps.client.Client
-
Executes a SOW delete with filter.
- sowDelete(MessageHandler, String, String, long) - Method in class com.crankuptheamps.client.Client
-
Executes a SOW delete with filter.
- sowDelete(String, String, long) - Method in class com.crankuptheamps.client.Client
-
Executes a SOW delete with filter.
- SOWDelete - Static variable in class com.crankuptheamps.client.Message.Command
-
- SOWDeleteByBookmark - Static variable in interface com.crankuptheamps.client.Store
-
- SOWDeleteByBookmarkCancel - Static variable in interface com.crankuptheamps.client.Store
-
- sowDeleteByData(MessageHandler, String, String, long) - Method in class com.crankuptheamps.client.Client
-
Executes a SOW delete by data.
- SOWDeleteByData - Static variable in interface com.crankuptheamps.client.Store
-
- SOWDeleteByFilter - Static variable in interface com.crankuptheamps.client.Store
-
- sowDeleteByKeys(MessageHandler, String, String, long) - Method in class com.crankuptheamps.client.Client
-
Executes a SOW delete using the SowKey assigned by AMPS to specify
the messages to delete.
- SOWDeleteByKeys - Static variable in interface com.crankuptheamps.client.Store
-
- startTimer() - Method in class com.crankuptheamps.client.Client
-
Sends a start timer command to AMPS, which can be later stopped with
a stop timer command.
- StartTimer - Static variable in class com.crankuptheamps.client.Message.Command
-
- Stats - Static variable in class com.crankuptheamps.client.Message.AckType
-
- StatusField - Class in com.crankuptheamps.client.fields
-
Field data for a
Message
which consists of a status.
- StatusField() - Constructor for class com.crankuptheamps.client.fields.StatusField
-
- stopTimer(MessageHandler) - Method in class com.crankuptheamps.client.Client
-
Sends a stop timer command to AMPS
- StopTimer - Static variable in class com.crankuptheamps.client.Message.Command
-
- store(Message) - Method in class com.crankuptheamps.client.BlockPublishStore
-
- store(Message, boolean) - Method in class com.crankuptheamps.client.BlockPublishStore
-
- store(Message) - Method in class com.crankuptheamps.client.HybridPublishStore
-
- Store - Interface in com.crankuptheamps.client
-
Represents a message store.
- store(Message) - Method in interface com.crankuptheamps.client.Store
-
Store the provided message.
- Store.StoreReplayer - Interface in com.crankuptheamps.client
-
Replay the messages saved in a store.
- StoreException - Exception in com.crankuptheamps.client.exception
-
Exception thrown when a publish store (
PublishStore
)
or bookmark store (
BookmarkStore
) experiences some internal error
(such as lack of resources or permissions), or is in an improper state for the requested operation.
- StoreException() - Constructor for exception com.crankuptheamps.client.exception.StoreException
-
- StoreException(String) - Constructor for exception com.crankuptheamps.client.exception.StoreException
-
- StoreException(Throwable) - Constructor for exception com.crankuptheamps.client.exception.StoreException
-
- StoreException(String, Throwable) - Constructor for exception com.crankuptheamps.client.exception.StoreException
-
- StreamException - Exception in com.crankuptheamps.client.exception
-
Thrown when AMPS sends an incorrectly formatted message stream.
- StreamException() - Constructor for exception com.crankuptheamps.client.exception.StreamException
-
- StreamException(String) - Constructor for exception com.crankuptheamps.client.exception.StreamException
-
- StreamException(Throwable) - Constructor for exception com.crankuptheamps.client.exception.StreamException
-
- StreamException(String, Throwable) - Constructor for exception com.crankuptheamps.client.exception.StreamException
-
- StringField - Class in com.crankuptheamps.client.fields
-
Field data for a
Message
which consists of a string.
- StringField(byte[], int, int) - Constructor for class com.crankuptheamps.client.fields.StringField
-
- StringField() - Constructor for class com.crankuptheamps.client.fields.StringField
-
Default constructor.
- StringField(String) - Constructor for class com.crankuptheamps.client.fields.StringField
-
- SubidInUse - Static variable in class com.crankuptheamps.client.Message.Reason
-
- SubidInUseException - Exception in com.crankuptheamps.client.exception
-
Thrown when the specified subscription ID is already in use for this client.
- SubidInUseException() - Constructor for exception com.crankuptheamps.client.exception.SubidInUseException
-
- SubidInUseException(String) - Constructor for exception com.crankuptheamps.client.exception.SubidInUseException
-
- SubidInUseException(Throwable) - Constructor for exception com.crankuptheamps.client.exception.SubidInUseException
-
- SubidInUseException(String, Throwable) - Constructor for exception com.crankuptheamps.client.exception.SubidInUseException
-
- subscribe(MessageHandler, String, String, long) - Method in class com.crankuptheamps.client.Client
-
Places a subscription with AMPS.
- subscribe(MessageHandler, String, String, String, long) - Method in class com.crankuptheamps.client.Client
-
Places a subscription with AMPS.
- subscribe(MessageHandler, String, String, String, long, String) - Method in class com.crankuptheamps.client.Client
-
Places a subscription with AMPS.
- subscribe(String) - Method in class com.crankuptheamps.client.Client
-
Places a subscription with AMPS.
- subscribe(String, String) - Method in class com.crankuptheamps.client.Client
-
Places a subscription with AMPS.
- subscribe(MessageHandler, String, long) - Method in class com.crankuptheamps.client.Client
-
Places a subscription with AMPS.
- subscribe(MessageHandler, Message) - Method in class com.crankuptheamps.client.DefaultSubscriptionManager
-
- subscribe(MessageHandler, Message) - Method in class com.crankuptheamps.client.MemorySubscriptionManager
-
- Subscribe - Static variable in class com.crankuptheamps.client.Message.Command
-
- subscribe(MessageHandler, Message) - Method in interface com.crankuptheamps.client.SubscriptionManager
-
Creates a subscription.
- Subscription - Interface in com.crankuptheamps.client
-
Interface that represents a single subscription within a bookmark store implementation.
- SubscriptionAlreadyExists - Static variable in class com.crankuptheamps.client.Message.Reason
-
- SubscriptionAlreadyExistsException - Exception in com.crankuptheamps.client.exception
-
Thrown when a client attempts to register a subscription that already exists.
- SubscriptionAlreadyExistsException() - Constructor for exception com.crankuptheamps.client.exception.SubscriptionAlreadyExistsException
-
- SubscriptionAlreadyExistsException(String) - Constructor for exception com.crankuptheamps.client.exception.SubscriptionAlreadyExistsException
-
- SubscriptionAlreadyExistsException(Throwable) - Constructor for exception com.crankuptheamps.client.exception.SubscriptionAlreadyExistsException
-
- SubscriptionAlreadyExistsException(String, Throwable) - Constructor for exception com.crankuptheamps.client.exception.SubscriptionAlreadyExistsException
-
- SubscriptionManager - Interface in com.crankuptheamps.client
-
Interface used to manage all subscriptions in AMPS.
- Success - Static variable in class com.crankuptheamps.client.Message.Status
-
- sync() - Method in class com.crankuptheamps.client.PublishStore
-
Forces any in memory changes to be written to persistant storage.