Skip to content

GateBase Class

sequenze edited this page Jun 19, 2017 · 3 revisions

Provides basic functionality for defining the typical behavior of a Gate. This is an abstract class.

Inheritance Hierarchy

Object

Syntax

public abstract class GateBase : IGate

Constructors

Name                                                               Description
GateBase(IEncoder,ConnectionString) Initializes a new instances of the GateBase class.

Methods

Name                                                           Description
Start(Action<IConnectionMode>) Starts the process controlling the gate. If a connection is received the passed callback function is executed.
Stop() Stops the gate from reacting on incoming connections.
GetMode(ConnectionMode,IProtocol) Factorymethod returning a connectionmode object based on the specified parameters.

See Also

IGate, IEncoder, ConnectionString, IConnectionMode, ConnectionMode, IProtocol

Clone this wiki locally