![]() | The message processor that will send the created P2P messages to the remote contact. |
![]() | A list of all current p2p message sessions. Multiple threads can access this resource so make sure to lock this. |
![]() | The nameserver handler. This object is used to request new switchboard sessions. |
![]() | Aborts and cleans up all running messagesessions and their transfersessions. |
![]() | Determines whether the specified Object is equal to the current 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. |
![]() | Gets a reference to a p2p message session with the specified remote contact. In case a session does not exist a new session will be created and returned. |
![]() | Gets the Type of the current instance. |
![]() | Handles incoming sb messages. Other messages are ignored. |
![]() | Returns a String that represents the current Object. |
![]() | Occurs when a P2P session is closed. |
![]() | Occurs when a P2P session is created. |
![]() |
Protected constructor. |
![]() | A collection of all available switchboard sessions |
![]() | Sets the specified messageprocessor as the default messageprocessor for the message session. |
![]() | Add a switchboard handler to the list of switchboard sessions to send messages to. |
![]() | Closes a message session. |
![]() | Creates a p2p session. The session is at the moment of return pure fictive; no actual messages have been sent to the remote client. The session will use the P2PHandler's messageprocessor as it's default messageprocessor. |
![]() | Creates a session based on a message received from the remote client. |
![]() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
![]() | Gets the p2p message session for which the local identifier equals the identifier passed as a parameter. This is typically called when a message is created. |
![]() | Gets the p2p message session for which the remote identifier equals the identifier passed as a parameter. This is typically called when an incoming message is processed. |
![]() | Gets a switchboard session with the specified remote contact present in the session. Null is returned if no such session is found. |
![]() | Creates a shallow copy of the current Object. |
![]() | Fires the SessionClosed event. |
![]() | Fires the SessionCreated event. |
![]() | Removes the messageprocessor from the specified messagesession, because it is invalid. |
![]() | Removes a switchboard handler from the list of switchboard sessions to send messages to. |
![]() | Requests a new switchboard processor. |
![]() | After the first acknowledgement we must set the identifier of the remote client. |
P2PHandler Class | XihSolutions.DotMSN.DataTransfer Namespace