C# Class Hprose.Server.HproseTcpListenerServer

Inheritance: Hprose.Server.HproseService
Datei anzeigen Open project: hprose/hprose-dotnet Class Usage Examples

Public Methods

Method Description
HproseTcpListenerServer ( string uri ) : System
Start ( ) : void
Stop ( ) : void

Protected Methods

Method Description
FixArguments ( Type argumentTypes, object arguments, int count, HproseContext context ) : object[]

Private Methods

Method Description
AcceptTcp ( ) : void
AcceptTcpCallback ( IAsyncResult asyncResult ) : void
AsyncReadCallback ( IAsyncResult asyncResult ) : void
AsyncWrite ( SendAndReceiveContext context, MemoryStream data ) : IAsyncResult
CloseConnection ( SendAndReceiveContext context ) : void
ErrorCallback ( IAsyncResult asyncResult ) : void
GetIPAddress ( string host, AddressFamily addressFamily ) : IPAddress
NonBlockingHandle ( SendAndReceiveContext context ) : void
ReadBodyCallback ( IAsyncResult asyncResult ) : void
ReadHeadCallback ( IAsyncResult asyncResult ) : void
WriteFullCallback ( IAsyncResult asyncResult ) : void
WritePartCallback ( IAsyncResult asyncResult ) : void

Method Details

FixArguments() protected method

protected FixArguments ( Type argumentTypes, object arguments, int count, HproseContext context ) : object[]
argumentTypes System.Type
arguments object
count int
context HproseContext
return object[]

HproseTcpListenerServer() public method

public HproseTcpListenerServer ( string uri ) : System
uri string
return System

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void