C# Class Squishy.Irc.Dcc.DccReceiveArgs

Show file Open project: jaddie/WCell-Utility-Bot Class Usage Examples

Public Properties

Property Type Description
Accept bool
DestinationDir string
DestinationFile string
FileName string
RemoteEndPoint System.Net.IPEndPoint
Size long
Timeout System.TimeSpan
User IrcUser

Private Methods

Method Description
DccReceiveArgs ( IrcUser user, string filename, IPEndPoint remoteEndPoint, long size ) : System

Property Details

Accept public property

Determines if this request is accepted. Change to deny/accept the sending. (Default = Dcc.AcceptByDefault)
public bool Accept
return bool

DestinationDir public property

The directory where the file should be saved to.
public string DestinationDir
return string

DestinationFile public property

The name of the file on the local harddisk.
public string DestinationFile
return string

FileName public property

The name of the file which is supposed to be sent.
public string FileName
return string

RemoteEndPoint public property

The Remote IPEndPoint which the ReceiveClient is supposed to connect to.
public IPEndPoint,System.Net RemoteEndPoint
return System.Net.IPEndPoint

Size public property

The total size of the incoming file.
public long Size
return long

Timeout public property

The TimeSpan that the DccReceiveClient should wait for an acceptance for a resume request, in case that the file has to be resumed. (Default = 1 minute)
public TimeSpan,System Timeout
return System.TimeSpan

User public property

The User who is trying to send the file.
public IrcUser User
return IrcUser