akka.remote

RemoteTransport

abstract class RemoteTransport extends AnyRef

The remote transport is responsible for sending and receiving messages. Each transport has an address, which it should provide in Serialization.currentTransportAddress (thread-local) while serializing actor references (which might also be part of messages). This address must be available (i.e. fully initialized) by the time the first message is received or when the start() method returns, whatever happens first.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RemoteTransport
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RemoteTransport(system: ExtendedActorSystem, provider: RemoteActorRefProvider)

Abstract Value Members

  1. abstract def address: Address

    Address to be used in RootActorPath of refs generated for this transport.

  2. abstract def log: LoggingAdapter

    A Logger that can be used to log issues that may occur

  3. abstract def logRemoteLifeCycleEvents: Boolean

    When this method returns true, RemoteLifeCycleEvents will be logged as well as be put onto the eventStream.

    When this method returns true, RemoteLifeCycleEvents will be logged as well as be put onto the eventStream.

    Attributes
    protected
  4. abstract def restartClientConnection(address: Address): Boolean

    Restarts a specific client connected to the supplied remote address, but only if the client is not shut down

  5. abstract def send(message: Any, senderOption: Option[ActorRef], recipient: RemoteActorRef): Unit

    Sends the given message to the recipient supplying the sender if any

  6. abstract def shutdown(): Unit

    Shuts down the remoting

  7. abstract def shutdownClientConnection(address: Address): Boolean

    Shuts down a specific client connected to the supplied remote address returns true if successful

  8. abstract def start(): Unit

    Start up the transport, i.

    Start up the transport, i.e. enable incoming connections.

  9. abstract def useUntrustedMode: Boolean

    When this method returns true, some functionality will be turned off for security purposes.

    When this method returns true, some functionality will be turned off for security purposes.

    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  8. def createControlEnvelope(rcp: RemoteControlProtocol): AkkaRemoteProtocol

    Returns a newly created AkkaRemoteProtocol with the given control payload.

  9. def createMessageSendEnvelope(rmp: RemoteMessageProtocol): AkkaRemoteProtocol

    Returns a newly created AkkaRemoteProtocol with the given message payload.

  10. def createRemoteMessageProtocolBuilder(recipient: ActorRef, message: Any, senderOption: Option[ActorRef]): Builder

    Returns a new RemoteMessageProtocol containing the serialized representation of the given parameters.

  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  20. def notifyListeners(message: RemoteLifeCycleEvent): Unit

    Default implementation both publishes the message to the eventStream as well as logs it using the system logger

  21. val provider: RemoteActorRefProvider

  22. def receiveMessage(remoteMessage: RemoteMessage): Unit

    Call this method with an inbound RemoteMessage and this will take care of security (see: "useUntrustedMode") as well as making sure that the message ends up at its destination (best effort).

    Call this method with an inbound RemoteMessage and this will take care of security (see: "useUntrustedMode") as well as making sure that the message ends up at its destination (best effort). There is also a fair amount of logging produced by this method, which is good for debugging.

  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. val system: ExtendedActorSystem

  25. def toRemoteActorRefProtocol(actor: ActorRef): ActorRefProtocol

    Serializes the ActorRef instance into a Protocol Buffers (protobuf) Message.

  26. def toString(): String

    Returns this RemoteTransports Address' textual representation

    Returns this RemoteTransports Address' textual representation

    Definition Classes
    RemoteTransport → AnyRef → Any
  27. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  28. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  29. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from AnyRef

Inherited from Any

Ungrouped