Click or drag to resize

OutProcessClient Class

A client role class that can perform two-way message exchange anywhere in the local network. The client connects to a running instance of the OutProcessClient class and exchanges messages over the established connection. A TCP client is internally used for communication.
Inheritance Hierarchy
SystemObject
  Orthogonal.MixedCommsLibOutProcessClient

Namespace: Orthogonal.MixedCommsLib
Assembly: Orthogonal.MixedCommsLib (in Orthogonal.MixedCommsLib.dll) Version: 2.0.3
Syntax
C#
public class OutProcessClient

The OutProcessClient type exposes the following members.

Constructors
 NameDescription
Public methodOutProcessClientInitializes a new instance of the OutProcessClient class
Top
Properties
 NameDescription
Public propertyPort Gets the server port number that the client will use to establish a connection.
Public propertyServerAddress Gets the server address that the client will use to establish a connection.
Top
Methods
 NameDescription
Public methodConnectAsync Requests the start of the client's background message processing thread and provides a way for the caller to await the client reaching the started state. Note that the client is considered 'started' when it it reaches the state of waiting for a a server to respond to a connection request, not when a server connection is made at some random later time.
Public methodEquals
(Inherited from Object)
Protected methodFinalize
(Inherited from Object)
Public methodGetHashCode
(Inherited from Object)
Public methodGetType
(Inherited from Object)
Protected methodMemberwiseClone
(Inherited from Object)
Public methodSendAsync Sends a message to the server.
Public methodStopAsync Issue a request to stop the client. There will be an unpredictable delay before the client actually stops. The ClientStopped event will be raised when the client has stopped.
Public methodToString
(Inherited from Object)
Top
Events
 NameDescription
Public eventStateChanged Parent apps can listen to this event to receive notifications of change of state of the client, and to receive notification of the arrival of a string message from the server.
Top
See Also