public class ThrottlerTransportAdapter extends ActorTransportAdapter
ActorTransportAdapter.AssociateUnderlying, ActorTransportAdapter.AssociateUnderlying$, ActorTransportAdapter.DisassociateUnderlying, ActorTransportAdapter.DisassociateUnderlying$, ActorTransportAdapter.ListenerRegistered, ActorTransportAdapter.ListenerRegistered$, ActorTransportAdapter.ListenUnderlying, ActorTransportAdapter.ListenUnderlying$, ActorTransportAdapter.TransportOperation
Transport.ActorAssociationEventListener, Transport.ActorAssociationEventListener$, Transport.AssociationEvent, Transport.AssociationEventListener, Transport.InboundAssociation, Transport.InboundAssociation$, Transport.InvalidAssociationException, Transport.InvalidAssociationException$
Constructor and Description |
---|
ThrottlerTransportAdapter(Transport _wrappedTransport,
ExtendedActorSystem _system) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
addedSchemeIdentifier() |
static scala.concurrent.Future<AssociationHandle> |
associate(Address remoteAddress) |
protected static Address |
augmentScheme(Address address) |
protected static java.lang.String |
augmentScheme(java.lang.String originalScheme) |
static Address |
boundAddress() |
static scala.concurrent.ExecutionContext |
ec() |
static void |
interceptAssociate(Address remoteAddress,
scala.concurrent.Promise<AssociationHandle> statusPromise) |
static scala.concurrent.Future<Transport.AssociationEventListener> |
interceptListen(Address listenAddress,
scala.concurrent.Future<Transport.AssociationEventListener> listenerPromise) |
static boolean |
isResponsibleFor(Address address) |
static scala.concurrent.Future<scala.Tuple2<Address,scala.concurrent.Promise<Transport.AssociationEventListener>>> |
listen() |
scala.concurrent.Future<java.lang.Object> |
managementCommand(java.lang.Object cmd)
This method allows upper layers to send management commands to the transport.
|
protected static void |
manager_$eq(ActorRef x$1) |
protected static ActorRef |
manager() |
protected java.lang.String |
managerName() |
protected Props |
managerProps() |
protected int |
maximumOverhead() |
static int |
maximumPayloadBytes() |
protected static Address |
removeScheme(Address address) |
protected static java.lang.String |
removeScheme(java.lang.String scheme) |
static java.lang.String |
schemeIdentifier() |
static java.lang.String |
SchemeIdentifier() |
static scala.concurrent.Future<java.lang.Object> |
shutdown() |
static java.util.concurrent.atomic.AtomicInteger |
UniqueId() |
protected static Transport |
wrappedTransport() |
AskTimeout, interceptAssociate, interceptListen, manager, shutdown
associate, boundAddress, ec, isResponsibleFor, listen, maximumPayloadBytes, schemeIdentifier, wrappedTransport
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
augmentScheme, augmentScheme, removeScheme, removeScheme
public ThrottlerTransportAdapter(Transport _wrappedTransport, ExtendedActorSystem _system)
public static java.lang.String SchemeIdentifier()
public static java.util.concurrent.atomic.AtomicInteger UniqueId()
protected static java.lang.String augmentScheme(java.lang.String originalScheme)
protected static java.lang.String removeScheme(java.lang.String scheme)
protected static Transport wrappedTransport()
public static scala.concurrent.ExecutionContext ec()
public static java.lang.String schemeIdentifier()
public static boolean isResponsibleFor(Address address)
public static int maximumPayloadBytes()
public static scala.concurrent.Future<scala.Tuple2<Address,scala.concurrent.Promise<Transport.AssociationEventListener>>> listen()
public static Address boundAddress()
public static scala.concurrent.Future<AssociationHandle> associate(Address remoteAddress)
protected static ActorRef manager()
protected static void manager_$eq(ActorRef x$1)
public static scala.concurrent.Future<Transport.AssociationEventListener> interceptListen(Address listenAddress, scala.concurrent.Future<Transport.AssociationEventListener> listenerPromise)
public static void interceptAssociate(Address remoteAddress, scala.concurrent.Promise<AssociationHandle> statusPromise)
public static scala.concurrent.Future<java.lang.Object> shutdown()
protected java.lang.String addedSchemeIdentifier()
addedSchemeIdentifier
in interface SchemeAugmenter
addedSchemeIdentifier
in class ActorTransportAdapter
protected int maximumOverhead()
maximumOverhead
in class ActorTransportAdapter
protected java.lang.String managerName()
managerName
in class ActorTransportAdapter
protected Props managerProps()
managerProps
in class ActorTransportAdapter
public scala.concurrent.Future<java.lang.Object> managementCommand(java.lang.Object cmd)
Transport
managementCommand
in interface Transport
managementCommand
in class ActorTransportAdapter
cmd
- Command message to the transport