Click or drag to resize

OutProcessServer Class

A server role class that can perform two-way message exchange anywhere in the local network. The server listens for a connection request from a OutProcessClient class and exchanges messages over the established connection. A TCP listener is internally used for communication.
Inheritance Hierarchy
SystemObject
  Orthogonal.MixedCommsLibOutProcessServer

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

The OutProcessServer type exposes the following members.

Constructors
 NameDescription
Public methodOutProcessServer Constructs an out-of-process server.
Top
Methods
 NameDescription
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 methodStartAsync Requests the start of the server's background message processing thread and provides a way for the caller to await the server reaching the started state. Note that the server is considered 'started' when it it reaches the state of waiting to accept a connection, not when a client connection is made at some random later time.
Public methodStopAsync Issue a request to stop the server. There will be an unpredictable delay before the server actually stops. The ServerStopped event will be raised when the server 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 server, and to receive notification of the arrival of a string message from the client.
Top
See Also