![]() |
Constructor. |
![]() | Defines whether the stream is automatically closed after the transfer has finished or been aborted. |
![]() | The unique call-id used in MSNSLP messages |
![]() | This property can be used by the client-programmer to include application specific data |
![]() | The stream to read from when data is send, or to write to when data is received. Default is a MemorySteam. |
![]() | Defines whether the local client is sender or receiver |
![]() | This value is set in the flag field in a p2p header. |
![]() | The message processor to which p2p messages (this includes p2p data messages) will be send |
![]() | The message session which keeps track of the local / remote message identifiers and redirects messages to this handler based on the session id |
![]() | The session id which this object handles. P2P messages will be redirected to this object based on their session id. |
![]() | Aborts the datatransfer, if available. This will send a P2P abort message and stop the sending thread. It will not close a direct connection. If AutoCloseStream is set to true, the datastream will be closed. |
![]() | 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 the Type of the current instance. |
![]() | Handles P2PMessages. Other messages are ignored. All incoming messages are supposed to belong to this session. |
![]() | Registers handlers for incoming p2p messages. |
![]() | Sends a message for this session to the message processor. If a direct connection is established the p2p message is directly send to the message processor. If there is no direct connection available, it will wrap the incoming p2p message in a MSGMessage with the correct parameters. It also sets the identifiers and acknowledge session, provided they're not already set. |
![]() | Starts a seperate thread to send the data in the stream to the remote client. It will first wait for a direct connection if tryDirectConnection is set to true. |
![]() | Returns a String that represents the current Object. |
![]() | Unregisters handlers. |
![]() | Occurs when the transfer of data messages has been aborted. |
![]() | Occurs when the sending of data messages has finished. |
![]() | Occurs when the sending of data messages has started. |
![]() | Keeps track of clustered p2p messages |
![]() | The thread in which the data messages are send |
![]() | Kickstart object to start the data transfer thread |
![]() | Indicates whether the session is waiting for the result of a direct connection attempt |
![]() | Aborts a running data transfer thread. |
![]() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
![]() | Creates a shallow copy of the current Object. |
![]() | Fires the TransferAborted event. |
![]() | Fires the TransferFinished event. |
![]() | Fires the TransferStarted event. |
![]() | Sends the remote client a p2p message with the 0x80 flag to abort. |
![]() | Sends the remote client a p2p message with the 0x40 flag to indicate we are going to close the connection. |
![]() | Entry point for the thread. This thread will send the data messages to the message processor. In case it is a direct connection P2PDCMessages will be send. If no direct connection is established P2PMessage objects are wrapped in a SBMessage object and send to the message processor. Which is in the latter case probably a SB processor. |
P2PTransferSession Class | XihSolutions.DotMSN.DataTransfer Namespace