C# Class Squishy.Network.DataConnection

The DataConnection provides several methods to send continuous data.
Inheritance: Connection
Afficher le fichier Open project: jaddie/WCell-Utility-Bot

Méthodes publiques

Méthode Description
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.

Method Details

DataConnection() public méthode

public DataConnection ( ) : System
Résultat System

DataConnection() public méthode

public DataConnection ( Socket sock ) : System
sock Socket
Résultat System

SendAll() public méthode

public SendAll ( Connection con ) : void
con Connection
Résultat void

SendAll() public méthode

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

SendFile() public méthode

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