![]() |
Constructor. |
![]() | Defines whether a direct connection handshake is automatically send to the remote client, or replied with an acknowledgement. Setting this to true means the remote client will start the transfer immediately. Setting this to false means the client programmer must send a handhsake message and an acknowledgement message after which the transfer will begin. |
![]() | Defines whether the message session runs over a direct session or is routed via the messaging server |
![]() | Defines whether an attempt has been made to create a direct connection |
![]() | The handshake message to send to the receiving client when a direct connection has been established |
![]() | The base identifier of the local client |
![]() | The account of the local contact. |
![]() | The identifier of the local contact. This identifier is increased just before a message is send. |
![]() | The message processor that sends the P2P messages to the remote contact. |
![]() | Indicates whether the processor is invalid |
![]() | The base identifier of the remote client |
![]() | The account of the remote contact. |
![]() | The expected identifier of the remote client for the next message. |
![]() | Aborts all running transfer sessions. |
![]() | Adds the specified transfer session to the collection and sets the transfer session's message processor to be the message processor of the p2p message session. This is usally a SB message processor. |
![]() | Removes references to handlers and the messageprocessor. Also closes running transfer sessions and pending processors establishing connections. |
![]() | Closes the direct connection with the remote client, if available. A closing p2p message will be send first. The session will fallback to the previous (SB) message processor. |
![]() | Corrects the local identifier with the specified correction. |
![]() | Creates a direct connection with the remote client. |
![]() | Determines whether the specified Object is equal to the current Object. |
![]() | Searches through all handlers and returns the first object with the specified type, or null if not found. |
![]() | Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. |
![]() | Returns the transfer session associated with the specified session identifier. |
![]() | Gets the Type of the current instance. |
![]() | Handles P2PMessages. Other messages are ignored. All incoming messages are supposed to belong to this session. |
![]() | The identifier of the local client, increases with each message send |
![]() | The identifier of the remote client, increases with each message received |
![]() | Setups a P2PDirectProcessor to listen for incoming connections. After a connection has been established the P2PDirectProcessor will become the main MessageProcessor to send messages. |
![]() | Registers a message handler. After registering the handler will receive incoming messages. |
![]() | Removes the specified transfer session from the collection. |
![]() | Sends incoming p2p messages to the remote contact. |
![]() | Returns a String that represents the current Object. |
![]() | Unregisters a message handler. After registering the handler will no longer receive incoming messages. |
![]() | Occurs when a direct connection is succesfully established. |
![]() | Occurs when a direct connection attempt has failed. |
![]() | Occurs when the processor has been marked as invalid. Due to connection error, or message processor being null. |
![]() | Keeps track of clustered p2p messages |
![]() | Add the processor to the pending list. |
![]() | Buffer messages that can not be send because of an invalid message processor. |
![]() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
![]() | Sets the processor as invalid, and requests the p2phandler for a new request. |
![]() | Creates a shallow copy of the current Object. |
![]() | Occurs when an acknowledgement to a send handshake has been received, or a handshake is received. This will start the data transfer, provided the local client is the sender. |
![]() | Fires the ProcessorInvalid event. |
![]() | Try to resend any messages that were stored in the buffer. |
![]() | Sends the handshake message in a direct connection. |
![]() | Disconnect all processors that are trying to establish a connection. |
![]() | Use the given processor as the direct connection processor. And disconnect all other pending processors. |
![]() | Sets the processor as valid. |
![]() | Wraps a P2PMessage in a MSGMessage and SBMessage. |
P2PMessageSession Class | XihSolutions.DotMSN.DataTransfer Namespace