A client connection to a LiveView server.

Namespace: StreamBase.LiveView.API
Assembly: StreamBase.LiveView.API (in StreamBase.LiveView.API.dll) Version: 2.2.8.5956 (2.2.8.5956)

Syntax

         
 C#  Visual Basic  Visual C++ 
public interface ILiveViewConnection
Public Interface ILiveViewConnection
public interface class ILiveViewConnection

Members

         
 All Members  Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
AlertManager
Provides an API for managing alerts on the server.
Close()()()()
Closes all queries and open resources with the server. Cannot be reused after closing.
ConnectionURI
The URI used to connect to the server.
DeleteRows(QueryConfig)
Delete rows based on the supplied QueryConfig. The issuer of this delete does not know how many rows were removed, or when the delete completes. Only a subset of the QueryConfig options are valid for DeleteRows, you may set: Predicate, QueryString, Table, MaxResultSetSize.

DeleteRows is effectively a snapshot query where the results of the query is the data to be deleted.

DescribeQuery(QueryConfig)
Get information about a query, such as its result schema, without actually running it.
ExecuteQuery(QueryConfig, EventBasedQueryResult)
Executes a query based on the supplied QueryConfig. Results will be reported via the supplied instance of EventBasedQueryResult. Note that the event handlers configured should return quickly. In some situations, long running event handlers can trigger heartbeat failures and/or other connection problems, particularly in the face of high data rates.
ExecuteQuery(QueryConfig, ObservableQueryResult)
Executes a query based on the supplied QueryConfig. Results will be reported via the supplied instance of ObservableQueryResult.
GetSendTupleInfo(StreamBaseURI, String, String)
Gets the schemas associated with streams, for the purposes of using SendTupleAction.
GetTableAdminManager()()()()
Get the ITableAdminManager, which provides an API to administer tables in the server.
HasServerCapability(ServerCapability)
Whether the connected server has the given ServerCapability.
IsConnected()()()()
A method call for checking if the connection with the server is still valid.
ListTables()()()()
Lists the available ITables for querying.
ListTables(Boolean)
Lists the available ITables for querying, optionally including the system tables along with the user-created tables.
SendTupleAction(StreamBaseURI, String, Tuple, String, Schema, TimeSpan)
Sends a tuple to an existing StreamBase application. If responseOutputStreamName and expectedResponseSchema are BOTH non-null, it will wait for a corresponding tuple to be output from the outputStream. Note that the app must be written such that BOTH the inputStream and the OutputStream must have a String field named "__SendTupleResponseKey" or it will give an error. This field will be set by the server when sending the tuple, and the response will be checked to make sure it has the same value. (This is to prevent one client from getting a response that was intended for a different client). If the client has not included the responseOutputStreamName, then the field is not required.
Version
Contains version information on the connected server.

See Also