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

Implemented in

 

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; }

 

Property ReadOnly Active As Boolean

add_AfterClose

 

method add_AfterClose(value: EventHandler)

 

void add_AfterClose(EventHandler value)

 

Sub add_AfterClose(value As EventHandler)

Parameters:

  • value:

add_AfterOpen

 

method add_AfterOpen(value: EventHandler)

 

void add_AfterOpen(EventHandler value)

 

Sub add_AfterOpen(value As EventHandler)

Parameters:

  • value:

add_BeforeClose

 

method add_BeforeClose(value: EventHandler)

 

void add_BeforeClose(EventHandler value)

 

Sub add_BeforeClose(value As EventHandler)

Parameters:

  • value:

add_BeforeOpen

 

method add_BeforeOpen(value: EventHandler)

 

void add_BeforeOpen(EventHandler value)

 

Sub add_BeforeOpen(value As EventHandler)

Parameters:

  • value:

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

remove_AfterClose

 

method remove_AfterClose(value: EventHandler)

 

void remove_AfterClose(EventHandler value)

 

Sub remove_AfterClose(value As EventHandler)

Parameters:

  • value:

remove_AfterOpen

 

method remove_AfterOpen(value: EventHandler)

 

void remove_AfterOpen(EventHandler value)

 

Sub remove_AfterOpen(value As EventHandler)

Parameters:

  • value:

remove_BeforeClose

 

method remove_BeforeClose(value: EventHandler)

 

void remove_BeforeClose(EventHandler value)

 

Sub remove_BeforeClose(value As EventHandler)

Parameters:

  • value:

remove_BeforeOpen

 

method remove_BeforeOpen(value: EventHandler)

 

void remove_BeforeOpen(EventHandler value)

 

Sub remove_BeforeOpen(value As EventHandler)

Parameters:

  • value:

 

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; }

 

Property ReadOnly Active As Boolean

 

add_AfterClose

 

method add_AfterClose(value: EventHandler)

 

void add_AfterClose(EventHandler value)

 

Sub add_AfterClose(value As EventHandler)

Parameters:

  • value:

add_AfterOpen

 

method add_AfterOpen(value: EventHandler)

 

void add_AfterOpen(EventHandler value)

 

Sub add_AfterOpen(value As EventHandler)

Parameters:

  • value:

add_BeforeClose

 

method add_BeforeClose(value: EventHandler)

 

void add_BeforeClose(EventHandler value)

 

Sub add_BeforeClose(value As EventHandler)

Parameters:

  • value:

add_BeforeOpen

 

method add_BeforeOpen(value: EventHandler)

 

void add_BeforeOpen(EventHandler value)

 

Sub add_BeforeOpen(value As EventHandler)

Parameters:

  • value:

Close

 

method Close

 

void Close()

 

Sub Close

Open

 

method Open

 

void Open()

 

Sub Open

remove_AfterClose

 

method remove_AfterClose(value: EventHandler)

 

void remove_AfterClose(EventHandler value)

 

Sub remove_AfterClose(value As EventHandler)

Parameters:

  • value:

remove_AfterOpen

 

method remove_AfterOpen(value: EventHandler)

 

void remove_AfterOpen(EventHandler value)

 

Sub remove_AfterOpen(value As EventHandler)

Parameters:

  • value:

remove_BeforeClose

 

method remove_BeforeClose(value: EventHandler)

 

void remove_BeforeClose(EventHandler value)

 

Sub remove_BeforeClose(value As EventHandler)

Parameters:

  • value:

remove_BeforeOpen

 

method remove_BeforeOpen(value: EventHandler)

 

void remove_BeforeOpen(EventHandler value)

 

Sub remove_BeforeOpen(value As EventHandler)

Parameters:

  • value:

 

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

See Also