Méthode | Description | |
---|---|---|
Broadcast ( string OriginHost, List |
Sends a GetTransferMessage to a list of ServiceSockets
|
|
Broadcast ( string OriginHost, List |
Sends a GetTransferMessage to a list of ServiceSockets and queues an Action to be called if the requested session is transferred to this peer, and another Action to be called if no session is transferred after a set time.
|
|
Equals ( object obj ) : bool | ||
Forward ( ) : void |
Forwards this message to other peers on the network
|
|
GetHashCode ( ) : int | ||
GetTransferMessage ( |
Initializes a new instance of the GetTransferMessage class
|
|
Process ( ) : void |
Process the message
|
|
Rebroadcast ( ) : void |
Rebroadcasts this message across the network. Rebroadcasts are different from Forwards because they have a different broadcast id and are also sent to the originating peer
|
Méthode | Description | |
---|---|---|
CallExportEndedActions ( List |
Calls a list of Actions waiting to be processed after a session transfer is complete
|
|
CompleteTransferRequest ( ISessionObject Session, object StateObject ) : void |
Called by the SessionDictionary.BeginExport method to complete processing the request, if the requested session was found and read
|
|
GetMergedHashCode ( System.Guid MessageID, System.Guid BroadcastID ) : int |
Gets a hashcode value based on the combination of the message's ID and RebroadcastID
|
|
TransferFailure ( AsyncMessageTracker transferredMessage ) : void |
Ends a failed Session Transfer
|
|
TransferSuccess ( AsyncMessageTracker transferredMessage ) : void |
Ends a successful session transfer
|
public static Broadcast ( string OriginHost, List |
||
OriginHost | string | The Host name of the peer that originally initiated this message |
sockets | List |
List of target ServiceSockets |
Service | StateServer | Instance of state server |
SessionKey | string | The requested session URI |
MessageID | System.Guid | The unique message identifier |
MaxForwards | int | The maximum number of nodes to forward the message to. This field is decremented by one for each forward |
BroadcastID | System.Guid | The broadcast identifier. Used by peers to identify different broadcasts of the same message. |
Résultat | void |
public static Broadcast ( string OriginHost, List |
||
OriginHost | string | The Host name of the peer that originally initiated this message |
sockets | List |
List of target ServiceSockets |
Service | StateServer | Instance of state server |
SessionKey | string | The requested session URI |
MessageID | System.Guid | The unique message identifier |
MaxForwards | int | The maximum number of nodes to forward the message to. This field is decremented by one for each forward |
BroadcastID | System.Guid | The broadcast identifier. Used by peers to identify different broadcasts of the same message |
TimeoutStamp | System.DateTime | The Time in UTC, at which point the message query is considered timed out |
FoundAction | Action |
The Action to be called if the requested session is transferred to this peer |
TimeoutAction | System | The Action to be called if the requested session is not transferred to this peer after the TimeoutStamp time |
Résultat | void |
public GetTransferMessage ( |
||
Data | The HTTPPartialData class to load this instance from | |
Service | StateServer | State server instance |
Résultat | System |