C# Class Akka.Remote.EndpointRegistry

Not threadsafe - only to be used in HeadActor
Datei anzeigen Open project: rogeralsing/akka.net

Public Methods

Method Description
AddressForWriter ( IActorRef writer ) : Akka.Actor.Address
HasWriteableEndpointFor ( Akka.Actor.Address address ) : bool
IsQuarantined ( Akka.Actor.Address address, int uid ) : bool
IsReadOnly ( IActorRef endpoint ) : bool
IsWritable ( IActorRef endpoint ) : bool
MarkAsFailed ( IActorRef endpoint, Akka.Remote.Deadline timeOfRelease ) : void

Marking an endpoint as failed means that we will not try to connect to the remote system within the gated period but it is ok for the remote system to try to connect with us (inbound-only.)

MarkAsQuarantined ( Akka.Actor.Address address, int uid, Akka.Remote.Deadline timeOfRelease ) : void
Prune ( ) : void
ReadOnlyEndpointFor ( Akka.Actor.Address address ) : int>.Tuple
RefuseUid ( Akka.Actor.Address address ) : int?
RegisterReadOnlyEndpoint ( Akka.Actor.Address address, IActorRef endpoint, int uid ) : IActorRef
RegisterWritableEndpoint ( Akka.Actor.Address address, IActorRef endpoint, int uid, int refuseUid ) : IActorRef
RegisterWritableEndpointUid ( Akka.Actor.Address remoteAddress, int uid ) : void
RemovePolicy ( Akka.Actor.Address address ) : void
UnregisterEndpoint ( IActorRef endpoint ) : void
WritableEndpointWithPolicyFor ( Akka.Actor.Address address ) : EndpointManager.EndpointPolicy

Private Methods

Method Description
PruneFilterFunction ( EndpointManager policy ) : bool

Internal function used for filtering endpoints that need to be pruned due to non-recovery past their deadlines

Method Details

AddressForWriter() public method

public AddressForWriter ( IActorRef writer ) : Akka.Actor.Address
writer IActorRef
return Akka.Actor.Address

HasWriteableEndpointFor() public method

public HasWriteableEndpointFor ( Akka.Actor.Address address ) : bool
address Akka.Actor.Address
return bool

IsQuarantined() public method

public IsQuarantined ( Akka.Actor.Address address, int uid ) : bool
address Akka.Actor.Address
uid int
return bool

IsReadOnly() public method

public IsReadOnly ( IActorRef endpoint ) : bool
endpoint IActorRef
return bool

IsWritable() public method

public IsWritable ( IActorRef endpoint ) : bool
endpoint IActorRef
return bool

MarkAsFailed() public method

Marking an endpoint as failed means that we will not try to connect to the remote system within the gated period but it is ok for the remote system to try to connect with us (inbound-only.)
public MarkAsFailed ( IActorRef endpoint, Akka.Remote.Deadline timeOfRelease ) : void
endpoint IActorRef
timeOfRelease Akka.Remote.Deadline
return void

MarkAsQuarantined() public method

public MarkAsQuarantined ( Akka.Actor.Address address, int uid, Akka.Remote.Deadline timeOfRelease ) : void
address Akka.Actor.Address
uid int
timeOfRelease Akka.Remote.Deadline
return void

Prune() public method

public Prune ( ) : void
return void

ReadOnlyEndpointFor() public method

public ReadOnlyEndpointFor ( Akka.Actor.Address address ) : int>.Tuple
address Akka.Actor.Address
return int>.Tuple

RefuseUid() public method

public RefuseUid ( Akka.Actor.Address address ) : int?
address Akka.Actor.Address
return int?

RegisterReadOnlyEndpoint() public method

public RegisterReadOnlyEndpoint ( Akka.Actor.Address address, IActorRef endpoint, int uid ) : IActorRef
address Akka.Actor.Address
endpoint IActorRef
uid int
return IActorRef

RegisterWritableEndpoint() public method

public RegisterWritableEndpoint ( Akka.Actor.Address address, IActorRef endpoint, int uid, int refuseUid ) : IActorRef
address Akka.Actor.Address
endpoint IActorRef
uid int
refuseUid int
return IActorRef

RegisterWritableEndpointUid() public method

public RegisterWritableEndpointUid ( Akka.Actor.Address remoteAddress, int uid ) : void
remoteAddress Akka.Actor.Address
uid int
return void

RemovePolicy() public method

public RemovePolicy ( Akka.Actor.Address address ) : void
address Akka.Actor.Address
return void

UnregisterEndpoint() public method

public UnregisterEndpoint ( IActorRef endpoint ) : void
endpoint IActorRef
return void

WritableEndpointWithPolicyFor() public method

public WritableEndpointWithPolicyFor ( Akka.Actor.Address address ) : EndpointManager.EndpointPolicy
address Akka.Actor.Address
return EndpointManager.EndpointPolicy