C# Class Yodiwo.YPChannel.Transport.Sockets.Client

Inheritance: CommonSocketChannel
Datei anzeigen Open project: yodiwo/plegma Class Usage Examples

Public Properties

Property Type Description
SocketSetup Socket>.Action

Public Methods

Method Description
Client ( Protocol Protocol, ChannelSerializationMode SupportedChannelSerializationModes = ChannelSerializationMode.Json, ChannelSerializationMode PreferredChannelSerializationModes = ChannelSerializationMode.Json ) : System
Connect ( string RemoteHost, int RemotePort, bool Secure, string CertificateServerName = null ) : SimpleActionResult
Connect ( string RemoteHost, int RemotePort, bool Secure, string CertificateServerName = null, IEnumerable CustomCertificates = null ) : SimpleActionResult
ConnectAsync ( string RemoteHost, int RemotePort, bool Secure, string CertificateServerName = null ) : Task
_OnSystemShutDownRequestHandler ( object Sender ) : void

Protected Methods

Method Description
onRedirect ( string Target ) : void

Private Methods

Method Description
_sockConnection ( string RemoteHost, int RemotePort ) : SimpleActionResult

Method Details

Client() public method

public Client ( Protocol Protocol, ChannelSerializationMode SupportedChannelSerializationModes = ChannelSerializationMode.Json, ChannelSerializationMode PreferredChannelSerializationModes = ChannelSerializationMode.Json ) : System
Protocol Protocol
SupportedChannelSerializationModes ChannelSerializationMode
PreferredChannelSerializationModes ChannelSerializationMode
return System

Connect() public method

public Connect ( string RemoteHost, int RemotePort, bool Secure, string CertificateServerName = null ) : SimpleActionResult
RemoteHost string
RemotePort int
Secure bool
CertificateServerName string
return SimpleActionResult

Connect() public method

public Connect ( string RemoteHost, int RemotePort, bool Secure, string CertificateServerName = null, IEnumerable CustomCertificates = null ) : SimpleActionResult
RemoteHost string
RemotePort int
Secure bool
CertificateServerName string
CustomCertificates IEnumerable
return SimpleActionResult

ConnectAsync() public method

public ConnectAsync ( string RemoteHost, int RemotePort, bool Secure, string CertificateServerName = null ) : Task
RemoteHost string
RemotePort int
Secure bool
CertificateServerName string
return Task

_OnSystemShutDownRequestHandler() public method

public _OnSystemShutDownRequestHandler ( object Sender ) : void
Sender object
return void

onRedirect() protected method

protected onRedirect ( string Target ) : void
Target string
return void

Property Details

SocketSetup public_oe static_oe property

public static Action SocketSetup
return Socket>.Action