C# Class Spinach.AsynchronousClient

Mostra file Open project: shranjan/pinac Class Usage Examples

Public Properties

Property Type Description
resetEvent System.Threading.ManualResetEvent[]

Public Methods

Method Description
SendMultiClient ( ) : void
SendMultiClientChat ( ) : void
SendSingleClient ( ) : void
SetMultiMsg ( Hashtable IPtoPeer, String msg, String self ) : void
SetSingleMsg ( String ip, String port, String msg ) : void

Private Methods

Method Description
ConnectCallback ( IAsyncResult ar ) : void
Send ( Socket client, String data ) : void
SendCallback ( IAsyncResult ar ) : void

Method Details

SendMultiClient() public method

public SendMultiClient ( ) : void
return void

SendMultiClientChat() public method

public SendMultiClientChat ( ) : void
return void

SendSingleClient() public method

public SendSingleClient ( ) : void
return void

SetMultiMsg() public method

public SetMultiMsg ( Hashtable IPtoPeer, String msg, String self ) : void
IPtoPeer System.Collections.Hashtable
msg String
self String
return void

SetSingleMsg() public method

public SetSingleMsg ( String ip, String port, String msg ) : void
ip String
port String
msg String
return void

Property Details

resetEvent public_oe static_oe property

public static ManualResetEvent[],System.Threading resetEvent
return System.Threading.ManualResetEvent[]