akka.remote.netty

NettyRemoteSupport

class NettyRemoteSupport extends RemoteSupport with NettyRemoteServerModule with NettyRemoteClientModule

Provides the implementation of the Netty remote support

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. NettyRemoteSupport
  2. NettyRemoteClientModule
  3. NettyRemoteServerModule
  4. RemoteSupport
  5. RemoteClientModule
  6. RemoteServerModule
  7. RemoteModule
  8. AnyRef
  9. Any
Visibility
  1. Public
  2. All

Instance Constructors

  1. new NettyRemoteSupport ()

Value Members

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

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

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

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

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

    Attributes
    final
    Definition Classes
    Any
  6. val UUID_PREFIX : String

    Definition Classes
    RemoteModule
  7. def actorFor (serviceId: String, className: String, timeout: Long, host: String, port: Int, loader: Option[ClassLoader]): ActorRef

    Attributes
    protected[akka]
    Definition Classes
    NettyRemoteSupportRemoteClientModule
  8. def actorFor (serviceId: String, className: String, timeout: Long, hostname: String, port: Int): ActorRef

    Definition Classes
    RemoteClientModule
  9. def actorFor (classNameOrServiceId: String, timeout: Long, hostname: String, port: Int, loader: ClassLoader): ActorRef

    Definition Classes
    RemoteClientModule
  10. def actorFor (classNameOrServiceId: String, timeout: Long, hostname: String, port: Int): ActorRef

    Definition Classes
    RemoteClientModule
  11. def actorFor (serviceId: String, className: String, hostname: String, port: Int, loader: ClassLoader): ActorRef

    Definition Classes
    RemoteClientModule
  12. def actorFor (serviceId: String, className: String, hostname: String, port: Int): ActorRef

    Definition Classes
    RemoteClientModule
  13. def actorFor (classNameOrServiceId: String, hostname: String, port: Int, loader: ClassLoader): ActorRef

    Definition Classes
    RemoteClientModule
  14. def actorFor (classNameOrServiceId: String, hostname: String, port: Int): ActorRef

    Definition Classes
    RemoteClientModule
  15. def address : InetSocketAddress

    Gets the address of the server instance

    Gets the address of the server instance

    Definition Classes
    NettyRemoteServerModuleRemoteServerModule
  16. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  17. def clear : Unit

    Definition Classes
    RemoteSupport
  18. def clientManagedActorOf (factory: () ⇒ Actor, host: String, port: Int): ActorRef

    Definition Classes
    NettyRemoteSupportRemoteClientModule
  19. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  20. def createActorFromClass (clazz: Class[_]): Actor

    Attributes
    protected
    Definition Classes
    RemoteSupport
  21. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  22. def equals (arg0: Any): Boolean

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

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  24. val futures : ConcurrentHashMap[Uuid, akka.dispatch.CompletableFuture[_]]

    Attributes
    protected[akka]
    Definition Classes
    NettyRemoteClientModule
  25. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  26. val guard : ReentrantGuard

    Attributes
    protected
    Definition Classes
    RemoteServerModule
  27. def hashCode (): Int

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

    Attributes
    final
    Definition Classes
    Any
  29. def isRunning : Boolean

    Signals whether the server is up and running or not

    Signals whether the server is up and running or not

    Definition Classes
    NettyRemoteServerModuleRemoteServerModule
  30. def name : String

    Gets the name of the server instance

    Gets the name of the server instance

    Definition Classes
    NettyRemoteServerModuleRemoteServerModule
  31. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  32. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  33. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  34. def notifyListeners (message: ⇒ Any): Unit

    Attributes
    protected[akka]
    Definition Classes
    RemoteSupportRemoteClientModuleRemoteModule
  35. val optimizeLocal : AtomicBoolean

  36. def optimizeLocalScoped_? (): Boolean

    Definition Classes
    NettyRemoteSupportRemoteModule
  37. def register (id: String, actorRef: ActorRef): Unit

    Register Remote Actor by a specific 'id' passed as argument.

    Register Remote Actor by a specific 'id' passed as argument.

    NOTE: If you use this method to register your remote actor then you must unregister the actor by this ID yourself.

    Definition Classes
    NettyRemoteServerModuleRemoteServerModule
  38. def register (actorRef: ActorRef): Unit

    Register Remote Actor by the Actor's 'id' field.

    Register Remote Actor by the Actor's 'id' field. It starts the Actor if it is not started already.

    Definition Classes
    RemoteServerModule
  39. def registerByUuid (actorRef: ActorRef): Unit

    Register Remote Actor by the Actor's uuid field.

    Register Remote Actor by the Actor's uuid field. It starts the Actor if it is not started already.

    Definition Classes
    NettyRemoteServerModuleRemoteServerModule
  40. def registerClientManagedActor (hostname: String, port: Int, uuid: Uuid): Unit

  41. def registerPerSession (id: String, factory: ⇒ ActorRef): Unit

    Register Remote Session Actor by a specific 'id' passed as argument.

    Register Remote Session Actor by a specific 'id' passed as argument.

    NOTE: If you use this method to register your remote actor then you must unregister the actor by this ID yourself.

    Definition Classes
    NettyRemoteServerModuleRemoteServerModule
  42. def registerPerSession (id: String, factory: Creator[ActorRef]): Unit

    Register Remote Session Actor by a specific 'id' passed as argument.

    Register Remote Session Actor by a specific 'id' passed as argument.

    NOTE: If you use this method to register your remote actor then you must unregister the actor by this ID yourself. Java API

    Definition Classes
    RemoteServerModule
  43. def registerTypedActor (id: String, typedActor: AnyRef): Unit

    Register remote typed actor by a specific id.

    Register remote typed actor by a specific id.

    id

    custom actor id

    typedActor

    typed actor to register

    Definition Classes
    NettyRemoteServerModuleRemoteServerModule
  44. def registerTypedActor (intfClass: Class[_], typedActor: AnyRef): Unit

    Register typed actor by interface name.

    Register typed actor by interface name.

    Definition Classes
    RemoteServerModule
  45. def registerTypedPerSessionActor (id: String, factory: ⇒ AnyRef): Unit

    Register remote typed actor by a specific id.

    Register remote typed actor by a specific id.

    id

    custom actor id

    Definition Classes
    NettyRemoteServerModuleRemoteServerModule
  46. def registerTypedPerSessionActor (id: String, factory: Creator[AnyRef]): Unit

    Register remote typed actor by a specific id.

    Register remote typed actor by a specific id.

    id

    custom actor id

    Definition Classes
    RemoteServerModule
  47. def registerTypedPerSessionActor (intfClass: Class[_], factory: Creator[AnyRef]): Unit

    Register typed actor by interface name.

    Register typed actor by interface name. Java API

    Definition Classes
    RemoteServerModule
  48. def registerTypedPerSessionActor (intfClass: Class[_], factory: ⇒ AnyRef): Unit

    Register typed actor by interface name.

    Register typed actor by interface name.

    Definition Classes
    RemoteServerModule
  49. def restartClientConnection (address: InetSocketAddress): Boolean

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

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

    Definition Classes
    NettyRemoteClientModuleRemoteClientModule
  50. def send [T] (message: Any, senderOption: Option[ActorRef], senderFuture: Option[CompletableFuture[T]], remoteAddress: InetSocketAddress, timeout: Long, isOneWay: Boolean, actorRef: ActorRef, typedActorInfo: Option[(String, String)], actorType: ActorType, loader: Option[ClassLoader]): Option[CompletableFuture[T]]

    Attributes
    protected[akka]
    Definition Classes
    NettyRemoteClientModuleRemoteClientModule
  51. def shutdown (): Unit

    Definition Classes
    RemoteSupport
  52. def shutdownClientConnection (address: InetSocketAddress): Boolean

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

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

    Definition Classes
    NettyRemoteClientModuleRemoteClientModule
  53. def shutdownClientModule (): Unit

    Clean-up all open connections.

    Clean-up all open connections.

    Definition Classes
    NettyRemoteClientModuleRemoteClientModule
  54. def shutdownRemoteClients (): Unit

    Definition Classes
    NettyRemoteClientModule
  55. def shutdownServerModule (): Unit

    Shuts the server down

    Shuts the server down

    Definition Classes
    NettyRemoteServerModuleRemoteServerModule
  56. def start (_hostname: String, _port: Int, loader: Option[ClassLoader] = None): RemoteServerModule

    Starts the server up

    Starts the server up

    Definition Classes
    NettyRemoteServerModuleRemoteServerModule
  57. def start (host: String, port: Int, loader: ClassLoader): RemoteServerModule

    Starts the server up

    Starts the server up

    Definition Classes
    RemoteServerModule
  58. def start (host: String, port: Int): RemoteServerModule

    Starts the server up

    Starts the server up

    Definition Classes
    RemoteServerModule
  59. def start (loader: ClassLoader): RemoteServerModule

    Starts the server up

    Starts the server up

    Definition Classes
    RemoteServerModule
  60. def start (): RemoteServerModule

    Starts the server up

    Starts the server up

    Definition Classes
    RemoteServerModule
  61. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  62. var timer : HashedWheelTimer

    Attributes
    protected[akka]
    Definition Classes
    NettyRemoteClientModule
  63. def toString (): String

    Definition Classes
    AnyRef → Any
  64. def typedActorFor [T] (intfClass: Class[T], serviceId: String, implClassName: String, timeout: Long, hostname: String, port: Int, loader: Option[ClassLoader]): T

    Methods that needs to be implemented by a transport *

    Methods that needs to be implemented by a transport *

    Attributes
    protected[akka]
    Definition Classes
    NettyRemoteClientModuleRemoteClientModule
  65. def typedActorFor [T] (intfClass: Class[T], serviceId: String, implClassName: String, timeout: Long, hostname: String, port: Int, loader: ClassLoader): T

    Definition Classes
    RemoteClientModule
  66. def typedActorFor [T] (intfClass: Class[T], serviceIdOrClassName: String, timeout: Long, hostname: String, port: Int, loader: ClassLoader): T

    Definition Classes
    RemoteClientModule
  67. def typedActorFor [T] (intfClass: Class[T], serviceIdOrClassName: String, timeout: Long, hostname: String, port: Int): T

    Definition Classes
    RemoteClientModule
  68. def typedActorFor [T] (intfClass: Class[T], serviceIdOrClassName: String, hostname: String, port: Int): T

    Definition Classes
    RemoteClientModule
  69. def unregister (id: String): Unit

    Unregister Remote Actor by specific 'id'.

    Unregister Remote Actor by specific 'id'.

    NOTE: You need to call this method if you have registered an actor by a custom ID.

    Definition Classes
    NettyRemoteServerModuleRemoteServerModule
  70. def unregister (actorRef: ActorRef): Unit

    Unregister Remote Actor that is registered using its 'id' field (not custom ID).

    Unregister Remote Actor that is registered using its 'id' field (not custom ID).

    Definition Classes
    NettyRemoteServerModuleRemoteServerModule
  71. def unregisterPerSession (id: String): Unit

    Unregister Remote Actor by specific 'id'.

    Unregister Remote Actor by specific 'id'.

    NOTE: You need to call this method if you have registered an actor by a custom ID.

    Definition Classes
    NettyRemoteServerModuleRemoteServerModule
  72. def unregisterTypedActor (id: String): Unit

    Unregister Remote Typed Actor by specific 'id'.

    Unregister Remote Typed Actor by specific 'id'.

    NOTE: You need to call this method if you have registered an actor by a custom ID.

    Definition Classes
    NettyRemoteServerModuleRemoteServerModule
  73. def unregisterTypedPerSessionActor (id: String): Unit

    Unregister Remote Typed Actor by specific 'id'.

    Unregister Remote Typed Actor by specific 'id'.

    NOTE: You need to call this method if you have registered an actor by a custom ID.

    Definition Classes
    NettyRemoteServerModuleRemoteServerModule
  74. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Deprecated Value Members

  1. def actorOf [T <: Actor] (host: String, port: Int)(implicit arg0: Manifest[T]): ActorRef

    Creates a Client-managed ActorRef out of the Actor of the specified Class.

    Creates a Client-managed ActorRef out of the Actor of the specified Class. If the supplied host and port is identical of the configured local node, it will be a local actor

      import Actor._
      val actor = actorOf[MyActor]("www.akka.io",2552)
      actor.start()
      actor ! message
      actor.stop()
    
    You can create and start the actor in one statement like this:
      val actor = actorOf[MyActor]("www.akka.io",2552).start()
    

    Definition Classes
    RemoteSupport
    Annotations
    @deprecated
    Deprecated

    Will be removed after 1.1

  2. def actorOf (clazz: Class[_ <: akka.actor.Actor], host: String, port: Int): ActorRef

    Creates a Client-managed ActorRef out of the Actor of the specified Class.

    Creates a Client-managed ActorRef out of the Actor of the specified Class. If the supplied host and port is identical of the configured local node, it will be a local actor

      import Actor._
      val actor = actorOf(classOf[MyActor],"www.akka.io",2552)
      actor.start()
      actor ! message
      actor.stop()
    
    You can create and start the actor in one statement like this:
      val actor = actorOf(classOf[MyActor],"www.akka.io",2552).start()
    

    Definition Classes
    RemoteSupport
    Annotations
    @deprecated
    Deprecated

    Will be removed after 1.1

  3. def actorOf (factory: ⇒ Actor, host: String, port: Int): ActorRef

    Creates a Client-managed ActorRef out of the Actor of the specified Class.

    Creates a Client-managed ActorRef out of the Actor of the specified Class. If the supplied host and port is identical of the configured local node, it will be a local actor

      import Actor._
      val actor = actorOf(classOf[MyActor],"www.akka.io", 2552)
      actor.start()
      actor ! message
      actor.stop()
    
    You can create and start the actor in one statement like this:
      val actor = actorOf(classOf[MyActor],"www.akka.io", 2552).start()
    

    Definition Classes
    RemoteSupport
    Annotations
    @deprecated
    Deprecated

    Will be removed after 1.1

  4. def addListener (listener: ActorRef): Unit

    Definition Classes
    RemoteClientModule
    Annotations
    @deprecated
    Deprecated

    This method now delegates to EventHandler.addListener, this method will be removed in the future

  5. def foreachListener (f: (ActorRef) ⇒ Unit): Unit

    Attributes
    protected[akka]
    Definition Classes
    RemoteClientModule
    Annotations
    @deprecated
    Deprecated

    This method now delegates to EventHandler.foreachListener, this method will be removed in the future

  6. def hasListener (listener: ActorRef): Boolean

    Definition Classes
    RemoteClientModule
    Annotations
    @deprecated
    Deprecated

    This method now delegates to EventHandler.hasListener, this method will be removed in the future

  7. def hasListeners : Boolean

    Definition Classes
    RemoteClientModule
    Annotations
    @deprecated
    Deprecated

    This method now delegates to EventHandler.hasListeners, this method will be removed in the future

  8. def removeListener (listener: ActorRef): Unit

    Definition Classes
    RemoteClientModule
    Annotations
    @deprecated
    Deprecated

    This method now delegates to EventHandler.removeListener, this method will be removed in the future

Inherited from NettyRemoteClientModule

Inherited from NettyRemoteServerModule

Inherited from RemoteSupport

Inherited from RemoteClientModule

Inherited from RemoteServerModule

Inherited from RemoteModule

Inherited from AnyRef

Inherited from Any