C# Class apophis.SharpIRC.IrcFeatures.DccSend

Dcc Send Connection, Filetransfer
Inheritance: DccConnection
Mostrar archivo Open project: FreeApophis/sharpIRC Class Usage Examples

Public Methods

Method Description
AcceptRequest ( Stream file, long offset ) : bool

With this methode you can accept a DCC SEND Request you got from another User

Private Methods

Method Description
DccSend ( IrcFeatures irc, IPAddress externalIpAdress, CtcpEventArgs e ) : System
DccSend ( IrcFeatures irc, string user, IPAddress externalIpAdress, Stream file, string filename, long filesize, DccSpeed speed, bool passive, Priority priority ) : System
InitWork ( Object stateInfo ) : void
SetRemote ( CtcpEventArgs e ) : bool
TryAccept ( CtcpEventArgs e ) : bool
TryResume ( CtcpEventArgs e ) : bool

Method Details

AcceptRequest() public method

With this methode you can accept a DCC SEND Request you got from another User
public AcceptRequest ( Stream file, long offset ) : bool
file Stream Any Stream you want use as a file, if you use offset it should be Seekable
offset long Offset to start a Resume Request for the rest of a file
return bool