The methods of the SBMessageHandler class are listed below. For a complete list of SBMessageHandler class members, see the SBMessageHandler Members topic.
Close | Closes the switchboard session by disconnecting from the server. |
Equals (inherited from Object) | Determines whether the specified Object is equal to the current Object. |
GetHashCode (inherited from Object) | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. |
GetType (inherited from Object) | Gets the Type of the current instance. |
HandleMessage | Handles message from the processor. |
Invite | Invites the specified contact to the switchboard. |
SendEmoticonDefinitions | Sends the definition for a list of emoticons to all other contacts in the conversation. The client-programmer must use this function if a text messages uses multiple emoticons in a single message. |
SendTextMessage | Sends a plain text message to all other contacts in the conversation. |
SendTypingMessage | Sends a 'user is typing..' message to the switchboard, and is received by all participants. |
SetInvitation | Overloaded. Called when a switchboard session is created on request of a remote client. |
ToString (inherited from Object) | Returns a String that represents the current Object. |
Finalize (inherited from Object) | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
MemberwiseClone (inherited from Object) | Creates a shallow copy of the current Object. |
OnAllContactsLeft | Fires the AllContactsLeft event. |
OnANSReceived | Called when a ANS command has been received. |
OnBYEReceived | Called when a BYE command has been received. |
OnCALReceived | Called when a CAL command has been received. |
OnContactJoined | Fires the ContactJoined event. |
OnContactLeft | Fires the ContactLeft event. |
OnEmoticonDefinition | Fires the UserTyping event. |
OnExceptionOccurred | Fires the ExceptionOccurred event. |
OnIROReceived | Called when a IRO command has been received. |
OnJOIReceived | Called when a JOI command has been received. |
OnMSGReceived | Called when a MSG command has been received. |
OnProcessorConnectCallback | Called when the message processor has established a connection. This function will begin the login procedure by sending the VER command. |
OnProcessorDisconnectCallback | Called when the message processor has disconnected. This function will set the IsSessionEstablished to false. |
OnServerErrorReceived | Fires the ServerErrorReceived event. |
OnSessionClosed | Fires the SessionClosed event. |
OnSessionEstablished | Fires the SessionEstablished event and processes invitations in the queue. |
OnTextMessageReceived | Fires the TextMessageReceived event. |
OnUserTyping | Fires the UserTyping event. |
OnUSRReceived | Called when a USR command has been received. |
ProcessInvitations | Handles all remaining invitations. If no connection is yet established it will do nothing. |
SendInitialMessage | Send the first message to the server. |
SendInvitationCommand | Sends the invitation command to the switchboard server. |
SBMessageHandler Class | XihSolutions.DotMSN Namespace