C# 클래스 Squishy.Network.DataConnection

The DataConnection provides several methods to send continuous data.
상속: Connection
파일 보기 프로젝트 열기: jaddie/WCell-Utility-Bot

공개 메소드들

메소드 설명
DataConnection ( ) : System
DataConnection ( Socket sock ) : System
SendAll ( Connection con ) : void
SendAll ( Stream stream ) : void

Flags this connection busy and asynchronously sends everything that can be read from this stream.

SendFile ( FileInfo file ) : void

Flags this connection busy and asynchronously sends the given file.

메소드 상세

DataConnection() 공개 메소드

public DataConnection ( ) : System
리턴 System

DataConnection() 공개 메소드

public DataConnection ( Socket sock ) : System
sock Socket
리턴 System

SendAll() 공개 메소드

public SendAll ( Connection con ) : void
con Connection
리턴 void

SendAll() 공개 메소드

Flags this connection busy and asynchronously sends everything that can be read from this stream.
public SendAll ( Stream stream ) : void
stream Stream
리턴 void

SendFile() 공개 메소드

Flags this connection busy and asynchronously sends the given file.
public SendFile ( FileInfo file ) : void
file System.IO.FileInfo
리턴 void