C# Class SharpUV.TcpClientSocket

Inheritance: TcpSocket
Show file Open project: gigi81/sharpuv

Private Properties

Property Type Description
OnConnect void
OnResolve void

Public Methods

Method Description
Connect ( IPEndPoint endpoint, Action callback = null ) : void
Connect ( IntPtr address, Action callback = null ) : void
Connect ( string ip, int port, Action callback = null ) : void
Resolve ( string node, string service, Action callback = null ) : void
TcpClientSocket ( ) : System
TcpClientSocket ( Loop loop ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void
InitDelegates ( ) : void
OnConnect ( UvArgs args ) : void
OnResolve ( UvArgs args ) : void

Private Methods

Method Description
OnConnect ( IntPtr connection, int status ) : void
OnResolve ( IntPtr resolver, int status, IntPtr addrinfo ) : void

Method Details

Connect() public method

public Connect ( IPEndPoint endpoint, Action callback = null ) : void
endpoint System.Net.IPEndPoint
callback Action
return void

Connect() public method

public Connect ( IntPtr address, Action callback = null ) : void
address System.IntPtr
callback Action
return void

Connect() public method

public Connect ( string ip, int port, Action callback = null ) : void
ip string
port int
callback Action
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

InitDelegates() protected method

protected InitDelegates ( ) : void
return void

OnConnect() protected method

protected OnConnect ( UvArgs args ) : void
args UvArgs
return void

OnResolve() protected method

protected OnResolve ( UvArgs args ) : void
args UvArgs
return void

Resolve() public method

public Resolve ( string node, string service, Action callback = null ) : void
node string
service string
callback Action
return void

TcpClientSocket() public method

public TcpClientSocket ( ) : System
return System

TcpClientSocket() public method

public TcpClientSocket ( Loop loop ) : System
loop Loop
return System