Click or drag to resize

DataConnectorPipeClientConnectionManagerTCommand Class

Handles connection to the dataconnector from scoringprogram clients and the BCS client.
Inheritance Hierarchy

Namespace: BridgeSystems.Bridgemate.DataConnector.ScoringProgramClient
Assembly: BridgeSystems.Bridgemate.DataConnector.ScoringProgramClient (in BridgeSystems.Bridgemate.DataConnector.ScoringProgramClient.dll) Version: 5.0.1014.1+c0d6f9bc4d7d415f4cee902c0a8eb3b5237ddd44
Syntax
C#
public abstract class DataConnectorPipeClientConnectionManager<TCommand> : DataConnectorClientCommandManager<TCommand>, 
	IDisposable
where TCommand : Enum

Type Parameters

TCommand

The DataConnectorPipeClientConnectionManagerTCommand type exposes the following members.

Constructors
 NameDescription
Protected methodDataConnectorPipeClientConnectionManagerTCommand Initializes the class.
Top
Properties
 NameDescription
Public propertyDataConnectorReader The class that reads data from the pipe stream. Can and must be disposed.
Public propertyDataConnectorStream The underlying pipe stream for both the writer and the reader. Can and must be disposed.
Public propertyDataConnectorWriter The class that writes data over the pipe stream. Can and must be disposed.
Public propertyIsActive Can be used to see if there already is a connection to the Data Connector. If so, do not try to connect again.
(Overrides DataConnectorClientCommandManagerTCommandIsActive)
Public propertyLoggingSource The source for the logging: Client or Server, BCS or ScoringProgram.
(Inherited from DataConnectorClientCommandManagerTCommand)
Public propertyTimeOutInMilliSeconds The timeout for establishing a connection with the Data Connector. If not set the default value DefaultTimeOutInMilliSeconds will be used.
(Inherited from DataConnectorClientCommandManagerTCommand)
Top
Methods
 NameDescription
Public methodCloseConnection Disposes of the NamedPipeClientStream that channels messages to and from the DataConnector.
Public methodCloseReader Disposes of the StreamReader class that reads messages from the DataConnector.
Public methodCloseWriter Disposes of the StreamWriter class that sends messages to the DataConnector.
Public methodConnect Connects to the specified named pipe synchronously.
(Overrides DataConnectorClientCommandManagerTCommandConnect(String))
Public methodConnectAsync Connects to the specified named pipe asynchronously.
(Overrides DataConnectorClientCommandManagerTCommandConnectAsync(String))
Public methodDispose Disposes the class.
(Inherited from DataConnectorClientCommandManagerTCommand)
Protected methodDispose(Boolean) Disposes the stream, writer and reader for the DataConnector if disposing is not already in progress.
(Overrides DataConnectorClientCommandManagerTCommandDispose(Boolean))
Protected methodLogError Logs an error
(Inherited from DataConnectorClientCommandManagerTCommand)
Protected methodLogMethodEntry(String) Logs the entry to a method.
(Inherited from DataConnectorClientCommandManagerTCommand)
Public methodLogMethodEntry(String, ValueTupleString, Object) Logs the entry to a method with its parameters (if any),
(Inherited from DataConnectorClientCommandManagerTCommand)
Top
Events
 NameDescription
Public eventPipeClientDisposed Will be raised if the named pipe client has been disposed (due to an error).
Top
Fields
 NameDescription
Public fieldDataConnectorClientLogger NLog implementation of logging.
(Inherited from DataConnectorClientCommandManagerTCommand)
Top
See Also