C# Класс Squishy.Network.DataConnection

The DataConnection provides several methods to send continuous data.
Наследование: Connection
Показать файл Открыть проект

Открытые методы

Метод Описание
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