|
StreamLink.NET
8.0.8-8.0.8-2133-4672b96
|
The interfaces, classes and enumerators within this package provide the functionality of StreamLink. More...
Namespaces | |
| package | Alerts |
| The classes within this package provide the functionality of StreamLink alerts | |
Classes | |
| class | BaseConnectionListener |
| Adapter class implementing the IConnectionListener methods More... | |
| class | BaseSubscriptionListener |
| Adapter class implementing the ISubscriptionListener methods More... | |
| class | ConsoleLogListener |
| Register by calling ILogger.AddListener on the logger acquired from IStreamLink More... | |
| class | ContainerFilterFactory |
| More... | |
| interface | IAdvancedConfiguration |
| This interface provides access to advanced features of the StreamLink library. More... | |
| interface | IBinaryEvent |
| The BinaryEvent is provided in an onBinaryUpdate callback to a ISubscriptionListener. More... | |
| interface | IBinaryHandler |
| Handler for parsing and patching BINARY objects. More... | |
| interface | IChannel |
| A Channel provides a bi-directional communication channel between a StreamLink application and a DataSource adapter. Using a Channel in both DataSource and StreamLink provides a simplified method of communication between the two components and can allow you just to use the Caplin platform as a bi-directional messaging pipe. More... | |
| interface | IChannelListener |
| Interface for receiving updates on the channel from the Liberator. More... | |
| interface | IChatEvent |
| The ChatEvent is provided in an onChatUpdate callback to a ISubscriptionListener. More... | |
| interface | ICommandErrorEvent |
| The CommandErrorEvent will be provided on a onCommandError callback to a ICommandListener. More... | |
| interface | ICommandListener |
| For more about commands, see ICommandSubscription. More... | |
| interface | ICommandParameters |
| interface | ICommandResultEvent |
| The CommandResultEvent will be provided on callbacks to a ICommandResultListener. More... | |
| interface | ICommandResultListener |
| For more about commands, see ICommandSubscription. More... | |
| interface | ICommandSubscription |
| Stored information on the subscription and lets you unpersist the command. More... | |
| interface | IConnectionCurrentState |
| interface | IConnectionListener |
| You should implement this interface if your application needs to take particular actions when such state changes occur. More... | |
| interface | IConnectionStatusEvent |
| The ConnectionStatusEvent is provided on a onConnectionStatusChange callback to a IConnectionListener. More... | |
| interface | IContainerElement |
| The insert(), remove() or move() callbacks of IContainerModel all supply a ContainerElement that applies to the action.. More... | |
| interface | IContainerEvent |
| The ContainerEvent will be provided on a onContainerUpdate callback to a ISubscriptionListener. More... | |
| interface | IContainerModel |
| The methods on this interface will be called in the correct order to ensure that your representation is correct. More... | |
| interface | IContainerSubscriptionParameters |
| interface | ICredentials |
| interface | ICredentialsProvider |
| interface | ICredentialsReceiver |
| interface | IDataEvent |
| In application code, use the derived interfaces that related to specific types of data, rather than this base-level interface. For example IRecordType1Event interface is derived from IDataEvent; it provides information about changes to a subscribed subject of type record, including the fields that have changed and their new values. More... | |
| interface | IDirectoryChangeElement |
| Provides information about a change to a directory element. More... | |
| interface | IDirectoryEvent |
| Provides information about a change to a directory. More... | |
| interface | IDiscardHandler |
| interface | IFilterExpression |
| Interface that represents a filter expression. More... | |
| interface | IFreeFormSubscriptionParameters |
| interface | IHttpHeaderProvider |
| interface | IJsonChannel |
| A Channel provides a bi-directional communication channel between a StreamLink application and a DataSource adapter. Using a Channel in both DataSource and StreamLink provides a simplified method of communication between the two components and can allow you just to use the Caplin platform as a bi-directional messaging pipe. More... | |
| interface | IJsonChannelListener |
| Interface for receiving updates on the JSON channel from the Liberator. More... | |
| interface | IJsonDiscardHandler |
| Object registered to receive discard callbacks. More... | |
| interface | IJsonEvent |
| The JsonEvent is provided in an onJsonUpdate callback to a ISubscriptionListener. More... | |
| interface | IJsonHandler |
| Handler for parsing and patching JSON objects. More... | |
| interface | IJsonProvider |
| interface | IJsonProviderHandle |
| Object returned from the StreamLink.register...Provider methods. More... | |
| interface | IJsonPublisher |
| An object that can send JSON messages for a subject that StreamLink is providing. More... | |
| interface | IJsonSubscriptionParameters |
| interface | IKeymasterCookieProvider |
| The set of cookies provided by this interface will be sent with KeyMaster connections. More... | |
| interface | IKeymasterHttpHeaderProvider |
| The set of headers provided by this interface will be sent with KeyMaster connections. More... | |
| interface | IKeymasterPollResponseListener |
| The KeymasterPollResponseListener needs to be added to the StreamLinkFactory create method in order to receive callbacks. More... | |
| interface | ILiberatorUrlProvider |
| interface | ILogger |
| You obtain an instance of caplin.streamlink.Logger by calling streamLinkInstance.getLogger() on the StreamLink instance. More... | |
| interface | ILogInfo |
| This will be passed into any ILogListener.OnLog method of any ILogListener registered at an appropriate LogLevel. The LogListener can then get the log line using the ILogInfo.Message method. See ILogListener. More... | |
| interface | ILogListener |
| If you wish to capture StreamLink's log messages (for example, to write them to your own log window), implement this interface, create an instance of it, and attach it to an instance of ILogger. More... | |
| interface | INewsEvent |
| Provides information about a news headline update. More... | |
| interface | IPageElement |
| Provides information about a single text change for the given row and column in a Page. More... | |
| interface | IPageEvent |
| Pages may be sent from the Liberator in one or more PageElementss. The initial page data is indicated by the isImage() method returning true. More... | |
| interface | IPermissionEvent |
| Provides information about a change to permission data. More... | |
| interface | IPublisher |
| An object that can send messages for a subject that StreamLink is providing. More... | |
| interface | IRawSocketFactory |
| This interface allows a user application to specify a connection strategy to use when creating Type 1 (direct socket) connections. For example, to negotiate a SOCKS proxy or other custom tunneling requirements. More... | |
| interface | IRecordDiscardHandler |
| Object registered to receive discard callbacks. More... | |
| interface | IRecordProvider |
| interface | IRecordProviderHandle |
| Object returned from the StreamLink.register...Provider methods. More... | |
| interface | IRecordPublisher |
| An object that can send record messages for a subject that StreamLink is providing. More... | |
| interface | IRecordSubscriptionParameters |
| interface | IRecordType1Event |
| The RecordType1Event is provided in an onRecordUpdate callback to a ISubscriptionListener. More... | |
| interface | IRecordType2Event |
| The RecordType2Event is provided in an onRecordType2Update callback to a ISubscriptionListener. More... | |
| interface | IRecordType3Event |
| The RecordType3Event will be provided on a onRecordType3Update callback to a ISubscriptionListener. More... | |
| interface | IServiceStatusEvent |
| The ServiceStatusEvent will be provided on a onServiceStatusChange callback to a IConnectionListener. More... | |
| interface | ISourceStatusEvent |
| The SourceStatusEvent will be provided on a onSourceStatusChange callback to a IConnectionListener. More... | |
| interface | IStatisticsEvent |
| The StatisticsEvent is provided in an onStatisticsChange callback to a IConnectionListener. More... | |
| interface | IStoryEvent |
| Stories may be sent from the Liberator in one or more IStoryEvents. The start of the story is indicated by the isImage() method returning true. More... | |
| interface | IStreamLink |
| Defines the StreamLink interface. More... | |
| interface | IStreamLinkConfiguration |
| Interface that allows the configuration of StreamLink to be defined programmatically. More... | |
| interface | ISubscription |
| Represents a subscription to a subject on the Liberator. More... | |
| interface | ISubscriptionErrorEvent |
| Provides information about a subscription error. More... | |
| interface | ISubscriptionListener |
| Your application should implement this interface. More... | |
| interface | ISubscriptionParameters |
| interface | ISubscriptionStatusEvent |
| The SubscriptionStatusEvent will be provided on a onSubscriptionStatus callback to a ISubscriptionListener. More... | |
| interface | IWebRequestParameters |
| Call the createWebRequestParameters method of the StreamLink object to obtain these parameters for the specified web module. More... | |
| class | LogLevel |
| Each log message generated by StreamLink has an associated LogLevel that indicates its importance, in the following order (highest to lowest). More... | |
| class | StreamLinkFactory |
| Factory that creates StreamLink instances. More... | |
| class | STuple |
The interfaces, classes and enumerators within this package provide the functionality of StreamLink.
The ChatEventType can be obtained by calling getUpdateType() on a IChatEvent.
Enumeration that defines the type of the IChatEvent.
| Enumerator | |
|---|---|
| MESSAGE |
The event contains a chat message. |
| USER_ADDED |
The event represents the event raised when a user joins a chat channel. |
| USER_REMOVED |
The event represents the event raised when a user leaves a chat channel. |
| JOINED |
The event represents the event raised when this StreamLink client joins a chat channel. |
You can obtain the CommandErrorType by calling getError() on a ICommandErrorEvent.
Enumeration defining the errors that can occur for a command.
You can obtain the ConnectionState by calling getConnectionState on a IConnectionStatusEvent.
Enumeration that defines the state of a StreamLink connection to a Liberator.
Although hints regarding possible transitions between ConnectionStates are given, you <em>should not</em> imply that this is a strict contract because network conditions may cause undocumented transitions.
The generalised sequence after calling streamlink.connect() is as follows: CONNECTING -> CONNECTED -> LOGGEDIN. At any point in time the connection could be lost which would raise the LOST, at this point StreamLink would attempt to connect again to a Liberator server, starting the sequence once more.
With this in mind, it is possible to map these onto a "traffic light" component indicating connection health using the following mappings:
<ul> <li>RED DISCONNECTED <li>GREEN LOGGEDIN <li>AMBER All other ConnectionStates. </ul>
| Enumerator | |
|---|---|
| DISCONNECTED |
Disconnected from the Liberator. When this state is raised by the StreamLink library all subscriptions have removed. StreamLink will not perform any activity until you call connect() on the IStreamLink object. |
| CONNECTING |
A connection attempt is in progress. If the connection attempt is successful, a CONNECTED state will be raised, if the connection fails, the FAILED event will be raised. |
| FAILED |
A connection attempt has failed. StreamLink will attempt to connect to a Liberator on the configured server list. |
| CONNECTED |
A network connection has been established to the Liberator. StreamLink will now attempt to log in to the Liberator session. |
| RETRIEVINGCREDENTIALS |
StreamLink is attempting to obtain a set of credentials to log in to the server. |
| CREDENTIALSRETRIEVED |
StreamLink has successfully retrieved the credentials. |
| CREDENTIALSRETRIEVALFAILED |
StreamLink has failed to retrieve the credentials. |
| LOGGEDIN |
The client is now logged into the Liberator. In this state it is possible for StreamLink applications to receive subscription updates and receive responses to commands. |
| LOGINFAILED |
The client could not login to the Liberator. StreamLink will not perform any more connection attempts and will switch to the DISCONNECTED state. |
| EJECTED |
The client has been ejected from the Liberator. StreamLink will not perform any more connection attempts and will switch to the DISCONNECTED state. |
| LOST |
The connection to the Liberator has been lost. StreamLink will attempt to connect and establish a new session with a configured Liberator. |
| RECONNECTED |
The Liberator session has been reconnected. This should be treated as an informational event, StreamLink will switch to the LOGGEDIN state to simplify implementation of your application (see the traffic light example above). |
| UNREACHABLE |
A connection to the Liberator is not possible due to no network being available. |
| PAUSED |
The connection has been paused by the application. This state is a direct result of the application causing IStreamLink.Pause. StreamLink is held in a "frozen" state pending a call to IStreamLink.Resume. |
Enumeration that defines the reasons for an error being raised in a ISubscriptionErrorEvent or a ICommandErrorEvent.
Enumeration that represents a particular logical operation.
Enumeration that represents the operators that are available for a FieldFilterExpression.
The LoginFailedReason will be provided by calling getLoginFailReason on a IConnectionStatusEvent.
Enumeration that defines the reason for a failed login.
| Enumerator | |
|---|---|
| INVALID_USER |
StreamLink can not log in to the Liberator because the user's username is incorrect. |
| INVALID_PASS |
StreamLink can not log in to the Liberator because the user's password is incorrect. |
| INVALID_IP |
StreamLink can not log in to the Liberator because the connection attempts is made from an invalid IP address. *. |
| ACCT_EXPIRED |
StreamLink can not log in to the Liberator because the user's account has expired. |
| ALREADY_LOGGED_IN |
StreamLink can not log in to the Liberator because the user is already logged in. |
| LICENSE_SITE |
StreamLink can not log in to the Liberator due to licensing limitations. |
| LICENSE_USER |
StreamLink can not log in to the Liberator due to licensing limitations. |
| CREDENTIALSERROR |
An error occurred whilst retrieving the credentials that are used to log in to the Liberator. |
| UNDEFINED |
This value is undefined. |
The ServiceStatus will be provided by calling getServiceStatus on a IServiceStatusEvent.
Enumeration that defines the status of a Service.
The three states that are possible for a Liberator data service are:
<ul> <li>OK - All of the data sources that make up the service are up. <li>Down - One or more required data sources for the service are down. <li>Limited - One or more non-required data sources for the service are down. </ul>
The SourceStatus will be provided by calling getSourceStatus on a ISourceStatusEvent.
Enumeration that defines the status of a source.
| Enumerator | |
|---|---|
| DOWN |
A source has gone up. |
| UP |
A source has gone down. |
The SubjectType can be obtained by calling getType() on a IContainerElement or IDirectoryChangeElement.
Enumeration that represents the available subject types.
It is also a parameter to createSubject() in IStreamLink.
The SubscriptionErrorType will be provided on a onSubscriptionError callback to a ISubscriptionListener.
Enumeration which represents the errors that can occur for a subject.
The SubscriptionStatusType will be provided by calling getStatus() on a ISubscriptionStatusEvent.
Enumeration that defines the status of a subject.
A ThrottleCommand is passed as a parameter to the throttleSubject() and throttleEverything() methods of IStreamLink.
Enumeration that defines the available throttle levels and throttle commands.
For an explanation of throttling, refer the Throttling section of the document <a href="https://docs.caplin.com/developer/caplin-platform/liberator/liberator-throttling">Throttling</a>.