DotMSN

MSNSLPHandler Methods

The methods of the MSNSLPHandler class are listed below. For a complete list of MSNSLPHandler class members, see the MSNSLPHandler Members topic.

Public Instance Methods

CloseAllSessions Closes all sessions by sending the remote client a closing message for each session available.
Dispose Closes all sessions.
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 incoming P2P Messages by extracting the inner contents and converting it to a MSNSLP Message.
SendInvitationOverloaded. Sends the remote contact a request for the given context. The invitation message is send over the current MessageProcessor.
ToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

CreateAcceptanceMessage Creates a 200 OK message. This is called by the handler after the client-programmer has accepted the invitation.
CreateClosingMessage Creates a message which is send directly after the last data message.
CreateDeclineMessage Creates a 603 Decline message.
CreateHandshakeMessage Creates the handshake message to send in a direct connection.
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.
GetNextDirectConnectionPort Returns a port number which can be used to listen for a new direct connection.
GetTransferProperties Returns the MSNSLPTransferProperties object associated with the specified call id.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.
OnDCRequest Called when the remote client sends a file and sends us it's direct-connect capabilities. A reply will be send with the local client's connectivity.
OnDCResponse Called when the remote client send us it's direct-connect capabilities
OnSessionCloseRequest Called when a remote client closes a session.
OnSessionRequest Called when a remote client request a session
OnTransferInvitationReceived Fires the TransferInvitationReceived event.
OnTransferSessionClosed Fires the TransferSessionClosed event.
OnTransferSessionCreated Fires the TransferSessionCreated event and registers event handlers.
ParseInvitationMessage Parses the incoming invitation message. This will set the class's properties for later retrieval in following messages.
RemoveTransferSession Closes the session's datastream and removes the transfer sessions from the class' P2PMessageSession object (MessageProcessor property).
SendDCInvitation Sends the invitation request for a direct connection

See Also

MSNSLPHandler Class | XihSolutions.DotMSN.DataTransfer Namespace