IServerChannel

Overview

The IServerChannel interface represents the base information about a specified server channel: channel state and the base server channel events.

The IServerChannel interface is implemented by the ServerChannel class, which is the base class for all Server Channels. The information of the IServerChannel interface is used in the descendants of the ServerChannel class (HttpServerChannel class, HttpSysServerChannel class, IpTcpServerChannel class, etc.).

You do not need to use this interface directly, instead, you can use the IServerChannel interface information (channel state, channel events) while working with a specified server channel component.

Location


 

Active

Represents the current state of the server channel: a true value means that the server channel is in active state, a false value means that it is inactive.

 

property Active: Boolean read;

 

Boolean Active { get; }

 

ReadOnly Property Active() As Boolean

AfterClose

Represents the event that occurs after an application closes the server channel.

 

event AfterClose: EventHandler;

 

delegate EventHandler AfterClose()

 

Event AfterClose As EventHandler

AfterOpen

Represents the event that occurs after an application completes opening the server channel.

 

event AfterOpen: EventHandler;

 

delegate EventHandler AfterOpen()

 

Event AfterOpen As EventHandler

BeforeClose

Represents the event that occurs immediately before the server channel closes.

 

event BeforeClose: EventHandler;

 

delegate EventHandler BeforeClose()

 

Event BeforeClose As EventHandler

BeforeOpen

Represents the event that occurs before an application executes opening the server channel.

 

event BeforeOpen: EventHandler;

 

delegate EventHandler BeforeOpen()

 

Event BeforeOpen As EventHandler

Close

 

method Close

 

void Close()

 

Sub Close()

Open

 

method Open

 

void Open()

 

Sub Open()

 

Active

Represents the current state of the server channel: a true value means that the server channel is in active state, a false value means that it is inactive.

 

property Active: Boolean read;

 

Boolean Active { get; }

 

ReadOnly Property Active() As Boolean

 

Close

 

method Close

 

void Close()

 

Sub Close()

Open

 

method Open

 

void Open()

 

Sub Open()

 

AfterClose

Represents the event that occurs after an application closes the server channel.

 

event AfterClose: EventHandler;

 

delegate EventHandler AfterClose()

 

Event AfterClose As EventHandler

AfterOpen

Represents the event that occurs after an application completes opening the server channel.

 

event AfterOpen: EventHandler;

 

delegate EventHandler AfterOpen()

 

Event AfterOpen As EventHandler

BeforeClose

Represents the event that occurs immediately before the server channel closes.

 

event BeforeClose: EventHandler;

 

delegate EventHandler BeforeClose()

 

Event BeforeClose As EventHandler

BeforeOpen

Represents the event that occurs before an application executes opening the server channel.

 

event BeforeOpen: EventHandler;

 

delegate EventHandler BeforeOpen()

 

Event BeforeOpen As EventHandler