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
Exibir arquivo Open project: aiclub/Mohawk_Battleship Class Usage Examples

Public Methods

Method 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 method

public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
return void

PlayerTimeoutEvent() public method

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 .
return System.Runtime.Serialization

PlayerTimeoutEvent() public method

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