Click or drag to resize

ClientConnection Class

Represents a DataSubscriber client connection to the DataPublisher.
Inheritance Hierarchy
SystemObject
  GSF.TimeSeries.TransportClientConnection

Namespace: GSF.TimeSeries.Transport
Assembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.207-beta
Syntax
public class ClientConnection : IProvideStatus, 
	IDisposable
View Source

The ClientConnection type exposes the following members.

Constructors
 NameDescription
Public methodClientConnection Creates a new ClientConnection instance.
Top
Properties
 NameDescription
Public propertyAuthenticated Gets or sets authenticated state of this ClientConnection.
Public propertyCipherIndex Gets current cipher index.
Public propertyClientID Gets client ID of this ClientConnection.
Public propertyClientNotFoundExceptionOccurred Gets or sets flag that indicates if the socket exception for "No client found for ID [Guid]" has been thrown.
Public propertyCommandChannel Gets IServer command channel.
Public propertyConnectionID Gets the connection identification of this ClientConnection.
Public propertyDataChannel Gets or sets reference to UdpServer data channel, attaching to or detaching from events as needed, associated with this ClientConnection.
Public propertyEncoding Character encoding used to send messages to subscriber.
Public propertyIPAddress Gets the IP address of the remote client connection.
Public propertyIsConnected Gets connected state of the associated client socket.
Public propertyIsSubscribed Gets or sets IsSubscribed state.
Public propertyKeyIVs Gets active and standby keys and initialization vectors.
Public propertyLastCipherKeyUpdateTime Gets time of last cipher key update.
Public propertyName Gets the subscriber name of this ClientConnection.
Public propertyOperationalModes Gets or sets a set of flags that define ways in which the subscriber and publisher communicate.
Public propertyPublishChannel Gets IServer publication channel - that is, data channel if defined otherwise command channel.
Public propertySharedSecret Gets or sets shared secret used to lookup cipher keys only known to client and server.
Public propertyStatus Gets a formatted message describing the status of this ClientConnection.
Public propertySubscriberAcronym Gets or sets the subscriber acronym of this ClientConnection.
Public propertySubscriberID Gets or sets the Guid based subscriber ID of this ClientConnection.
Public propertySubscriberInfo Gets or sets subscriber info for this ClientConnection.
Public propertySubscriberName Gets or sets the subscriber name of this ClientConnection.
Public propertySubscription Gets or sets subscription associated with this ClientConnection.
Public propertyValidIPAddresses Gets or sets the list of valid IP addresses that this client can connect from.
Top
Methods
 NameDescription
Public methodDispose Releases all the resources used by the ClientConnection object.
Protected methodDispose(Boolean) Releases the unmanaged resources used by the ClientConnection object and optionally releases the managed resources.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalize Releases the unmanaged resources before the ClientConnection object is reclaimed by GC.
(Overrides ObjectFinalize)
Public methodGetCommandChannelSocket Gets the Socket instance used by this client connection to send and receive data over the command channel.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRotateCipherKeys Rotates or initializes the crypto keys for this ClientConnection.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also