C# Class Chimney.MPD.Net.Connection

显示文件 Open project: opengd/Chimney Class Usage Examples

Public Methods

Method Description
Close ( ) : void
Connect ( string host, string port, int timeout ) : Task
Recive ( StreamSocket streamSocket, List orstarts, List orends, List andstarts, List andends ) : Task
Send ( StreamSocket streamSocket, string send ) : Task

Method Details

Close() public method

public Close ( ) : void
return void

Connect() public method

public Connect ( string host, string port, int timeout ) : Task
host string
port string
timeout int
return Task

Recive() public static method

public static Recive ( StreamSocket streamSocket, List orstarts, List orends, List andstarts, List andends ) : Task
streamSocket Windows.Networking.Sockets.StreamSocket
orstarts List
orends List
andstarts List
andends List
return Task

Send() public static method

public static Send ( StreamSocket streamSocket, string send ) : Task
streamSocket Windows.Networking.Sockets.StreamSocket
send string
return Task