C# Class Akka.Remote.TestKit.RemoteConnection

INTERNAL API
Exibir arquivo Open project: rogeralsing/akka.net Class Usage Examples

Public Methods

Method Description
CreateConnection ( Role role, IPEndPoint socketAddress, int poolSize, IChannelHandler upstreamHandler ) : Task
ReleaseAll ( ) : System.Threading.Tasks.Task
Shutdown ( IChannel connection ) : void

Private Methods

Method Description
ApplyChannelPipeline ( IChannel channel, IChannelHandler handler ) : void
GetClientWorkerPool ( int poolSize ) : IEventLoopGroup
GetServerPool ( int poolSize ) : IEventLoopGroup
GetServerWorkerPool ( int poolSize ) : IEventLoopGroup
RemoteConnection ( ) : System

Method Details

CreateConnection() public static method

public static CreateConnection ( Role role, IPEndPoint socketAddress, int poolSize, IChannelHandler upstreamHandler ) : Task
role Role
socketAddress System.Net.IPEndPoint
poolSize int
upstreamHandler IChannelHandler
return Task

ReleaseAll() public static method

public static ReleaseAll ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

Shutdown() public static method

public static Shutdown ( IChannel connection ) : void
connection IChannel
return void