C# Class withSIX.Play.Core.Games.Legacy.ServerQuery.SocketExtensions

Show file Open project: SIXNetworks/withSIX.Desktop

Public Methods

Method Description
ReceiveWithTimeoutAfter ( this client, int milliSecondsDelay ) : Task
ReceiveWithTimeoutAfter ( this client, int milliSecondsDelay, CancellationTokenSource cancel ) : Task
SendWithTimeoutAfter ( this client, Byte list, int delay ) : Task
SendWithTimeoutAfter ( this client, Byte list, int delay, CancellationTokenSource cancel ) : Task

Method Details

ReceiveWithTimeoutAfter() public static method

public static ReceiveWithTimeoutAfter ( this client, int milliSecondsDelay ) : Task
client this
milliSecondsDelay int
return Task

ReceiveWithTimeoutAfter() public static method

public static ReceiveWithTimeoutAfter ( this client, int milliSecondsDelay, CancellationTokenSource cancel ) : Task
client this
milliSecondsDelay int
cancel System.Threading.CancellationTokenSource
return Task

SendWithTimeoutAfter() public static method

public static SendWithTimeoutAfter ( this client, Byte list, int delay ) : Task
client this
list Byte
delay int
return Task

SendWithTimeoutAfter() public static method

public static SendWithTimeoutAfter ( this client, Byte list, int delay, CancellationTokenSource cancel ) : Task
client this
list Byte
delay int
cancel System.Threading.CancellationTokenSource
return Task