C# Class Gablarski.WebServer.WebServerConnection

Inheritance: IServerConnection
ファイルを表示 Open project: ermau/Gablarski Class Usage Examples

Public Methods

Method Description
Disconnect ( ) : void

Closes the connection.

DisconnectAsync ( ) : void
Send ( MessageBase message ) : void

Sends message to the other end of the connection.

Tick ( ) : IEnumerable
WebServerConnection ( IHttpSession session, IPAddress ipAddress ) : System

Private Methods

Method Description
Receive ( MessageBase messageBase ) : void

Method Details

Disconnect() public method

Closes the connection.
public Disconnect ( ) : void
return void

DisconnectAsync() public method

public DisconnectAsync ( ) : void
return void

Send() public method

Sends message to the other end of the connection.
is null.
public Send ( MessageBase message ) : void
message MessageBase The message to send.
return void

Tick() public method

public Tick ( ) : IEnumerable
return IEnumerable

WebServerConnection() public method

public WebServerConnection ( IHttpSession session, IPAddress ipAddress ) : System
session IHttpSession
ipAddress System.Net.IPAddress
return System