C# Class apophis.SharpIRC.IrcFeatures.DccConnection

Baseclass for all DccConnections
Datei anzeigen Open project: FreeApophis/sharpIRC Class Usage Examples

Protected Properties

Property Type Description
Connection System.Net.Sockets.TcpClient
DccServer System.Net.Sockets.TcpListener
ExternalIPAdress System.Net.IPAddress
Irc IrcFeatures
IsConnected bool
IsValid bool
LocalEndPoint System.Net.IPEndPoint
Reject bool
RemoteEndPoint System.Net.IPEndPoint
SessionID long
Timeout System.DateTime
User string

Public Methods

Method Description
Disconnect ( ) : void
RejectRequest ( ) : void
ToString ( ) : string

Protected Methods

Method Description
DccChatReceiveLineEvent ( DccChatEventArgs e ) : void
DccChatRequestEvent ( DccEventArgs e ) : void
DccChatSentLineEvent ( DccChatEventArgs e ) : void
DccChatStartEvent ( DccEventArgs e ) : void
DccChatStopEvent ( DccEventArgs e ) : void
DccIntToHost ( long ip ) : string
DccSendReceiveBlockEvent ( DccSendEventArgs e ) : void
DccSendRequestEvent ( DccSendRequestEventArgs e ) : void
DccSendSentBlockEvent ( DccSendEventArgs e ) : void
DccSendStartEvent ( DccEventArgs e ) : void
DccSendStopEvent ( DccEventArgs e ) : void
FilterMarker ( string msg ) : string
GetAck ( long sentBytes ) : byte[]
HostToDccInt ( IPAddress ip ) : long

Private Methods

Method Description
DccConnection ( ) : System
InitWork ( Object stateInfo ) : void
IsSession ( long session ) : bool

Method Details

DccChatReceiveLineEvent() protected method

protected DccChatReceiveLineEvent ( DccChatEventArgs e ) : void
e DccChatEventArgs
return void

DccChatRequestEvent() protected method

protected DccChatRequestEvent ( DccEventArgs e ) : void
e DccEventArgs
return void

DccChatSentLineEvent() protected method

protected DccChatSentLineEvent ( DccChatEventArgs e ) : void
e DccChatEventArgs
return void

DccChatStartEvent() protected method

protected DccChatStartEvent ( DccEventArgs e ) : void
e DccEventArgs
return void

DccChatStopEvent() protected method

protected DccChatStopEvent ( DccEventArgs e ) : void
e DccEventArgs
return void

DccIntToHost() protected method

protected DccIntToHost ( long ip ) : string
ip long
return string

DccSendReceiveBlockEvent() protected method

protected DccSendReceiveBlockEvent ( DccSendEventArgs e ) : void
e DccSendEventArgs
return void

DccSendRequestEvent() protected method

protected DccSendRequestEvent ( DccSendRequestEventArgs e ) : void
e DccSendRequestEventArgs
return void

DccSendSentBlockEvent() protected method

protected DccSendSentBlockEvent ( DccSendEventArgs e ) : void
e DccSendEventArgs
return void

DccSendStartEvent() protected method

protected DccSendStartEvent ( DccEventArgs e ) : void
e DccEventArgs
return void

DccSendStopEvent() protected method

protected DccSendStopEvent ( DccEventArgs e ) : void
e DccEventArgs
return void

Disconnect() public method

public Disconnect ( ) : void
return void

FilterMarker() protected method

protected FilterMarker ( string msg ) : string
msg string
return string

GetAck() protected method

protected GetAck ( long sentBytes ) : byte[]
sentBytes long
return byte[]

HostToDccInt() protected method

protected HostToDccInt ( IPAddress ip ) : long
ip System.Net.IPAddress
return long

RejectRequest() public method

public RejectRequest ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

Property Details

Connection protected_oe property

protected TcpClient,System.Net.Sockets Connection
return System.Net.Sockets.TcpClient

DccServer protected_oe property

protected TcpListener,System.Net.Sockets DccServer
return System.Net.Sockets.TcpListener

ExternalIPAdress protected_oe property

protected IPAddress,System.Net ExternalIPAdress
return System.Net.IPAddress

Irc protected_oe property

protected IrcFeatures,apophis.SharpIRC.IrcFeatures Irc
return IrcFeatures

IsConnected protected_oe property

protected bool IsConnected
return bool

IsValid protected_oe property

protected bool IsValid
return bool

LocalEndPoint protected_oe property

protected IPEndPoint,System.Net LocalEndPoint
return System.Net.IPEndPoint

Reject protected_oe property

protected bool Reject
return bool

RemoteEndPoint protected_oe property

protected IPEndPoint,System.Net RemoteEndPoint
return System.Net.IPEndPoint

SessionID protected_oe property

protected long SessionID
return long

Timeout protected_oe property

protected DateTime,System Timeout
return System.DateTime

User protected_oe property

protected string User
return string