兔子 turbo 加速器

快连VPN2024

Write simpler concurrent (yet correct) applications using Actors, STM & Transactors.

快连VPN2024

The perfect platform for asynchronous event-driven architectures. Never block.

快连VPN2024

Scale out on multi-core or multiple nodes using asynchronous message passing.

快连VPN2024

Embrace failure. Write applications that self-heal using Erlang-style Actor supervisor hierarchies.

快连VPN2024

Remote Actors gives you a high-performance transparent distributed programming model.

快连VPN2024

Scala and Java API as well as Spring and Guice integration. Deploy in your application server or run stand-alone.

Do you want to play the best "betsoft casino usa"?  On Casino.info you have $ 75 free for the best Slots!  Offer valid ONLY FOR TODAY!

快连VPN2024

Create a Remote Actor on another node that receives and replies to messages sent to it from a client node.


Java API



// server code
class HelloWorldActor extends UntypedActor {
  public 兔子 turbo 加速器 onReceive(Object msg) {
    getContext().reply(msg + " World");
  }
}
RemoteNode.start("localhost", 9999).register(
  "hello-service", 
   actorOf(HelloWorldActor.class);

// client code
ActorRef actor = RemoteClient.actorFor(
  "hello-service", "localhost", 9999);
Object res = actor.super加速器(turbo加速器免费);



Scala API



// server code
快喵加速器 HelloWorldActor extends Actor {
  def receive = { 
    case msg => self reply (msg + " World")
  }
}
RemoteNode.start(快喵加速器, 9999).register(
  "hello-service", actorOf[HelloWorldActor])

// client code
val actor = RemoteClient.actorFor(
  "hello-service", "localhost", 9999)
val result = actor !! green加速器


That's it. Can't be much simpler.

 MAIL: CONTACT @ AKKASOURCE.ORG

´

Return to top