Thresher 1.2 Class Documentation

DccChatSession Members

DccChatSession overview

Public Static (Shared) Methods

Accept When another a remote user has sent a chat request, this method is called to accept the request and start a chat session with that user.
RequestOverloaded. Send a DCC Chat request to a remote user and use the default timeout period of 30 seconds.

Public Instance Properties

ClientInfo Iinformation about the remote user.
Connected A read-only property indicating whether this session is currently connected to another user.

Public Instance Methods

Close Close the chat session.
Equals (inherited from Object)
GetHashCode (inherited from Object)
GetType (inherited from Object)
SendMessage Send a line of text to the remote user. There is no fixed limit to message size but they should not be too long.
ToString Summary information about this session.

Public Instance Events

OnChatMessageReceived Text from the remote user was received
OnChatRequestTimeout The remote user did not respond to a Chat request within the timeout period.
OnChatSessionClosed The chat session has been closed by either participant.
OnChatSessionOpened A chat session has been opened. This is called when a session has been opened regardless of who initiated the session.

See Also

DccChatSession Class | Sharkbite.Irc Namespace