Examples of RpcTransformBuilder


Examples of com.almende.eve.transform.rpc.RpcTransformBuilder

   *            the ws
   */
  public WakeableAgent(final ObjectNode config, final WakeService ws) {
    this.ws = ws;
    final AgentConfig conf = new AgentConfig(config);
    setRpc(new RpcTransformBuilder().withHandle(
        new WakeHandler<Object>(this, conf.getId(), ws)).build());
    setReceiver(new WakeHandler<Receiver>(this, conf.getId(), ws));
   
    setConfig(conf, true);
    registerAt(ws);
View Full Code Here

Examples of com.almende.eve.transform.rpc.RpcTransformBuilder

   *            the ws
   */
  public void setConfig(final ObjectNode config, final WakeService ws){
    this.ws = ws;
    final AgentConfig conf = new AgentConfig(config);
    setRpc(new RpcTransformBuilder().withHandle(
        new WakeHandler<Object>(this, conf.getId(), ws)).build());
    setReceiver(new WakeHandler<Receiver>(this, conf.getId(), ws));
   
    setConfig(conf, true);
    registerAt(ws);
View Full Code Here

Examples of com.almende.eve.transform.rpc.RpcTransformBuilder

   * com.fasterxml.jackson.databind.node.ObjectNode, boolean)
   */
  @Override
  public void wake(final String wakeKey, final ObjectNode params,
      final boolean onBoot) {
    setRpc(new RpcTransformBuilder().withHandle(
        new WakeHandler<Object>(this, getId(), ws)).build());
    setReceiver(new WakeHandler<Receiver>(this, wakeKey, ws));
    setConfig(params, onBoot);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.