C# Class Akka.Remote.Transport.Helios.HeliosTransport

Abstract base class for HeliosTransport - has separate child implementations for TCP / UDP respectively
Inheritance: Transport
Datei anzeigen Open project: rogeralsing/akka.net Class Usage Examples

Public Properties

Property Type Description
UniqueIdCounter Helios.Util.AtomicCounter

Protected Properties

Property Type Description
AssociationListenerPromise TaskCompletionSource
LocalAddress Akka.Actor.Address
Log ILoggingAdapter
ServerChannel IChannel

Private Properties

Property Type Description
SetClientPipeline void
SetInitialChannelPipeline void
SetServerPipeline void

Public Methods

Method Description
AddressToSocketAddress ( Akka.Actor.Address address ) : EndPoint
Associate ( Akka.Actor.Address remoteAddress ) : Task
IsResponsibleFor ( Akka.Actor.Address remote ) : bool
Listen ( ) : TaskCompletionSource>>.Task
MapSocketToAddress ( IPEndPoint socketAddr, string schemeIdentifier, string systemName, string hostName = null ) : Akka.Actor.Address
Shutdown ( ) : Task

Protected Methods

Method Description
AssociateInternal ( Akka.Actor.Address remoteAddress ) : Task
ClientFactory ( Akka.Actor.Address remoteAddres ) : ClientBootstrap

Internal factory used for creating new outbound connection transports

HeliosTransport ( ActorSystem system, Config config ) : System
NewServer ( EndPoint listenAddress ) : Task

Private Methods

Method Description
SetClientPipeline ( IChannel channel, Akka.Actor.Address remoteAddress ) : void
SetInitialChannelPipeline ( IChannel channel ) : void
SetServerPipeline ( IChannel channel ) : void

Method Details

AddressToSocketAddress() public static method

public static AddressToSocketAddress ( Akka.Actor.Address address ) : EndPoint
address Akka.Actor.Address
return System.Net.EndPoint

Associate() public method

public Associate ( Akka.Actor.Address remoteAddress ) : Task
remoteAddress Akka.Actor.Address
return Task

AssociateInternal() protected abstract method

protected abstract AssociateInternal ( Akka.Actor.Address remoteAddress ) : Task
remoteAddress Akka.Actor.Address
return Task

ClientFactory() protected method

Internal factory used for creating new outbound connection transports
protected ClientFactory ( Akka.Actor.Address remoteAddres ) : ClientBootstrap
remoteAddres Akka.Actor.Address
return ClientBootstrap

HeliosTransport() protected method

protected HeliosTransport ( ActorSystem system, Config config ) : System
system ActorSystem
config Akka.Configuration.Config
return System

IsResponsibleFor() public method

public IsResponsibleFor ( Akka.Actor.Address remote ) : bool
remote Akka.Actor.Address
return bool

Listen() public method

public Listen ( ) : TaskCompletionSource>>.Task
return TaskCompletionSource>>.Task

MapSocketToAddress() public static method

public static MapSocketToAddress ( IPEndPoint socketAddr, string schemeIdentifier, string systemName, string hostName = null ) : Akka.Actor.Address
socketAddr System.Net.IPEndPoint
schemeIdentifier string
systemName string
hostName string
return Akka.Actor.Address

NewServer() protected method

protected NewServer ( EndPoint listenAddress ) : Task
listenAddress System.Net.EndPoint
return Task

Shutdown() public method

public Shutdown ( ) : Task
return Task

Property Details

AssociationListenerPromise protected_oe property

protected TaskCompletionSource AssociationListenerPromise
return TaskCompletionSource

LocalAddress protected_oe property

protected Address,Akka.Actor LocalAddress
return Akka.Actor.Address

Log protected_oe property

protected ILoggingAdapter Log
return ILoggingAdapter

ServerChannel protected_oe property

protected IChannel ServerChannel
return IChannel

UniqueIdCounter public_oe static_oe property

public static Helios.Util.AtomicCounter UniqueIdCounter
return Helios.Util.AtomicCounter