C# Class MBC.Core.Events.PlayerTimeoutEvent

Provides information about a Register that had taken too long to return from a method call in its associating Controller.
Inheritance: PlayerEvent
Afficher le fichier Open project: aiclub/Mohawk_Battleship Class Usage Examples

Méthodes publiques

Méthode Description
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
PlayerTimeoutEvent ( IDNumber playerID, ControllerTimeoutException exception ) : System.Runtime.Serialization

Stores the information provided by the exception and bases the Event.Message from it.

PlayerTimeoutEvent ( SerializationInfo info, StreamingContext context ) : System.Runtime.Serialization

Method Details

GetObjectData() public méthode

public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
Résultat void

PlayerTimeoutEvent() public méthode

Stores the information provided by the exception and bases the Event.Message from it.
public PlayerTimeoutEvent ( IDNumber playerID, ControllerTimeoutException exception ) : System.Runtime.Serialization
playerID MBC.Shared.IDNumber
exception MBC.Core.Threading.ControllerTimeoutException The generated by a .
Résultat System.Runtime.Serialization

PlayerTimeoutEvent() public méthode

public PlayerTimeoutEvent ( SerializationInfo info, StreamingContext context ) : System.Runtime.Serialization
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
Résultat System.Runtime.Serialization