AMPS C# Client
5.3.3.4
AMPS C# Client for .NET
|
▼NAMPS | |
►NClient | A simple ServerChooser that keeps a list of AMPS instances and Authenticators, and advances to the next one when failure occurs |
►NExceptions | |
CAlreadyConnectedException | Thrown when the Connect() method is called on a Client that is already in the connected state. Check your program for logic errors using connections that may already be connected, and call disconnect on the Client to disconnect |
CAMPSException | Base class for all exceptions in the AMPS client |
CAuthenticationException | |
CBadFilterException | This exception is thrown when the content filter supplied has one or more errors. Check the syntax of the content filter, and check the server logs for details |
CBadRegexTopicException | Thrown when the regular expression used in a subscription or query is invalid. Check the regular expression used in subscription, and check the server logs for more details |
CBadSowKeyException | |
CBufferOverflowException | Thrown when the regular expression used in a subscription or query is invalid. Check the regular expression used in subscription, and check the server logs for more details |
CCommandException | Base class for exceptions thrown as a result of errors in sending commands to the AMPS server |
CConnectionException | Base class for exceptions thrown when the AMPS connection is not in an appropriate state for the requested operation |
CConnectionRefusedException | Thrown when the attempt to connect to the AMPS server failed. Verify that the server instance is running and that the server instance is configured to accept connections using the protocol and on the port specified |
CDisconnectedException | Thrown when an operation is attempted on a connection that is not connected |
CDuplicateLogonException | |
CInvalidBookmarkException | |
CInvalidOptionsException | |
CInvalidOrderByException | |
CInvalidProtocolOptionsException | Thrown when invalid protocol options are present in the URI specification for the connection. Verify the contents of the URI are compatible with the configuration of the AMPS server |
CInvalidSubIdException | |
CInvalidTopicException | |
CInvalidTransportOptionsException | Thrown when invalid transport options are present in the URI provided. Verify the URI with the AMPS administrator |
CInvalidURIException | Thrown when one or more errors are present in the URI. Validate that the format of the URI matches that given in the documentation |
CLogonRequiredException | |
CMessageStreamFullException | Exception used to indicate that a MessageStream has reached its max depth and can't enqueue another message |
CNameInUseException | |
CNotEntitledException | Thrown when AMPS indicates that an entitlement error has occured. The client is not entitled to the requested operation on this topic |
CProtocolException | Base class for exceptions thrown when an error occurs with a particular protocol specified |
CProtocolNotFoundException | Thrown when an attempt is made to use a message with a type that is not found |
CPublishFilterException | |
CRetryOperationException | Thrown when the operation has not completed successfuly, but may be reattempted |
CStoreException | |
CStreamException | Thrown when the contents of the data on the AMPS connection is incompatible with the client. This may be due to a low-level network error or an internal error inside AMPS – contact AMPS support when encountered |
CSubidInUseException | Thrown when a subscription is attempted using an identifier that already exists. Ensure a unique identifier is chosen for each subscription on a given connection |
CSubscriptionAlreadyExistsException | Thrown when a subscription is attempted using an identifier that already exists. Ensure a unique identifier is chosen for each subscription on a given connection |
CTimedOutException | Thrown when a timeout occurs. Use this exception to determine whether to re-attempt the operation, or simply present an error message |
CTransportException | Base class for errors that occur in the transport layer of the client |
CTransportTypeException | Thrown when a connection is attempted using an invalid transport type |
CUnknownException | Thrown when an unexpected error occurs. Contact AMPS support for assistance |
►NFields | |
CAckTypeField | |
CBookmarkField | |
CBookmarkRangeField | |
CBooleanField | |
CCommandField | |
CField | Represents a single field in an AMPS message |
CIntegerField | |
CLongField | |
COptionsField | |
CReasonField | |
CStatusField | |
CStringField | |
CUlongField | |
CAuthenticator | |
►CBlockPublishStore | |
CBlock | |
CBuffer | |
CByteSequence | |
►CBookmarkRingBuffer | |
CEntry | |
CBookmarkStore | |
CBookmarkStoreResizeHandler | |
►CClient | |
CBookmarks | |
CConnectionStateChangedEventArgs | |
CClientDisconnectHandler | |
CActionDisconnectHandler | Allows the use of an Action (i.e. lambda function with no return value) in any context where a ClientDisconnectHandler may be used |
CCommand | Command is an encapsulation of a single AMPS command sent by the client. Using Command you can build valid commands to be executed either synchronously or asynchronously via the Client execute() and executeAsync() methods. Command is designed to be used as a "builder" enabling AMPS commands to be built easily, for example: |
CCommandId | Used to give a unique identifier to a Command. This Id can be used to reference the command later, such as when unsubscribing a subscription command |
CCompletionListener | |
CCompositeMessageBuilder | 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. For example, a composite message type of "composite-json-binary" may be declared on the server that combines a set of JSON headers with an opaque binary payload. CompositeMessageBuilder makes it easy to assemble this payload |
CCompositeMessageParser | 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. For example, a composite message type of "composite-json-binary" may be declared on the server that combines a set of JSON headers with an opaque binary payload. CompositeMessageParser makes it easy to retrieve the parts of a composite message from the composite message payload |
CConflatingRecoveryPointAdapter | |
CConnectionInfo | |
CDefaultAuthenticator | |
CDefaultBookmarkStore | A no-op default implementation of the BookmarkStore interface that does nothing |
CDefaultCompletionListener | |
CDefaultDisconnectHandler | A default no-op implementation of the ClientDisconnectHandler and TransportDisconnectHandler interfaces that does nothing |
CDefaultMessageHandler | A defualy no-op implementation of the MessageHandler interface that does nothing |
CDefaultServerChooser | |
CDefaultSubscriptionManager | A no-op implementation of the SubscriptionManager interface that does nothing |
CDynamicRecoveryPoint | |
CDynamicRecoveryPointFactory | |
►CExponentialDelayStrategy | ExponentialDelayStrategy is an implementation that exponentially "backs off" when reconnecting to the same server, including optional jitter when backing off and a maximum amount of time to attempt reconnection before giving up entirely |
CMaximumRetryExceeded | A specialized exception type thrown by ExponentialDelayStrategy to indicate that the client should "give up" on attempting to reconnect to a server |
CFailedWriteHandler | An interface for receiving information on messages that you've written, but for which the server indicates are not persisted because of a failure |
CFailedWriteHandlerV4 | An interface for receiving information on messages that you've written, but for which the server indicates are not persisted because of a failure |
CFIXBuilder | Used to build up message strings for FIX |
►CFixedDelayStrategy | |
CMaximumRetryExceeded | A specialized exception type thrown by FixedDelayStrategy to indicate that the client should "give up" on attempting to reconnect to a server |
CFixedRecoveryPoint | |
CFixedRecoveryPointFactory | |
CFIXMessage | |
CFIXProtocol | Implements the Protocol interface. Used to parse a byte stream as a series of messages. The byte stream must use the AMPS FIX protocol |
CFIXProtocolParser | Implements the ProtocolParser interface. Parses a byte stream using FIX protocol |
CFIXShredder | A parser class which converts a FIX message into a dictionary |
►CHAClient | A highly-available AMPS Client object that automatically reconnects and re-subscribes to AMPS instances upon disconnect |
CHADisconnectHandler | |
CHandleTimeoutStream | |
CHybridPublishStore | |
CJSONMessage | |
CJSONProtocol | Implements the Protocol interface. Used to parse a byte stream as a series of messgaes. The byte stream must used AMPS FIX protocol |
CJSONProtocolParser | Implements the ProtocolParser interface. Parses a byte stream using JSON Protocol (AMPS Protocol) |
CLoggedBookmarkStore | |
CMemoryBookmarkStore | |
CMemoryPublishStore | |
CMemoryStoreBuffer | MemoryStoreBuffer is a wrapper for a list that maintains positon. In order to do this, MemoryStoreBuffer uses a ByteBuffer |
CMemorySubscriptionManager | An in-memory implementation of SubscriptionManager. Used by HAClient |
►CMessage | All communication with AMPS occurs through passing Messages. The AMPS clients provide named convenience methods for core AMPS functionality. These named methods work by creating and sending Messages to AMPS |
COptions | Represents the possible values for message options in an AMPS command. Options in a message are combined in to a comma-delimited list. Each of these option values is comma-terminated, so they can be easily combined by simple string concatenation |
CMessageHandler | Interface for classes that handle AMPS messages |
CActionMessageHandler | Allows usage of an Action (i.e. a lambda function with no return value) in the place of a MessageHandler throughout the AMPS api |
CMessageRouter | |
CMessageStream | Allows iteration over the messages in an AMPS SOW cache, or over the stream of messages on a subscription, or both |
CNVFIXBuilder | Used to build up message strings for NVFIX |
CNVFIXMessage | A message subclass used by NVFIXProtocolParser to aid in building Message instances parsed from the NVFIXProtocol. Generally not used directly by end user |
CNVFIXProtocol | |
CNVFIXProtocolParser | Implements the ProtocolParser interface and extends FIXProtocolParser class. Parses a byte stream using NVFIX protocol |
CNVFIXShredder | A parser class that converts an NVFIX message into a Dictionary |
CPool | |
CProperties | |
CProtocol | Interface representing an AMPS wire protocol. Classes that implement this interface aid in parsing a byte stream as a series of messages, formatted using one of the AMPS-supported protocols |
CProtocolFactory | Class which creates Protocols as well as registering and unregistering them from a Dictionary |
CProtocolParser | |
CPublishStore | |
CPublishStoreResizeHandler | |
CReconnectDelayStrategy | Reconnect delay strategy implementations are called by HAClient to determine how long to wait between attempts to connect or reconnect to a server. AMPS provides two predefined implementations:
FixedDelayStrategy</seelaso> |
CRecoveryPoint | |
CRecoveryPointFactory | |
CRecoveryPointAdapter | |
CRingBookmarkStore | |
CServerChooser | |
CSimpleReadBuffer | |
CSOWRecoveryPointAdapter | |
CStoreReplayer | |
CSOWDeleteTypes | |
CStore | |
CSubscriptionManager | |
CTCPSTransport | Implements a secure transport for communicating with AMPS over a SslStream |
CTCPSTransportImpl | |
CTCPTransport | |
CTCPTransportImpl | |
CThreadCreatedHandler | Interface for classes that handle AMPS messages |
CActionThreadCreatedHandler | Allows usage of an Action (i.e. a lambda function with no return value) in the place of a MessageHandler throughout the AMPS api |
CTransport | |
CTransportDisconnectHandler | |
CTransportFactory | |
CTransportTraceFilter | An implementation of TransportFilter that traces to a System.IO.TextWriter. To use, instantiate and hen pass to Transport's setTransportFilter, for example: Client client = new Client(...); client.connect(...); client.getTransport.setTransportFilter( new TransportTraceFilter(Console.out) ); |
CURIProperties | Provides a Properties interface to the parameters passed in a URI without depending on System.Web |
►CUtilities | |
CCRC32 | |
CDefaultCRC32 | |
CVersionInfo | An IComparable representation of the server's version |
CXMLMessage | |
CXMLProtocol | |
CXMLProtocolParser | |
CZlibIOStream | A System.IO.Stream wrapper around the ComponentAce zlib implementation which works bidirectionally and eliminates a data copy |
▼NComponentAce | |
►NCompression | |
►NLibs | |
►Nzlib | |
CAdler32 | |
CDeflate | |
CInfBlocks | |
CInfCodes | |
CInflate | |
CInfTree | |
CStaticTree | |
CSupportClass | |
CTree | |
CZInputStream | |
CzlibConst | |
CZOutputStream | |
CZStream | |
CZStreamException | |
CFunctor | |
CTransportFilter | Filter raw incoming and outgoing data on a Transport |