Package com.caucho.bam

Examples of com.caucho.bam.SimpleActorClient


      String resource = env.getGlobalVar("_SERVER").get(PHP_SELF).toString();

      if (resource.indexOf('/') == 0)
        resource = resource.substring(1);

      connection = new SimpleActorClient(broker, jid, resource);
      env.addCleanup(new BamConnectionResource(connection));
      env.setSpecialValue("_quercus_bam_connection", connection);
    }

    return connection;
View Full Code Here


    if (_to == null)
      throw new ConfigException(L.l("BamHandler needs a 'to' attribute"));

    HempBroker broker = HempBroker.getCurrent();
   
    _conn = new SimpleActorClient(broker, "log@localhost", null);
  }
View Full Code Here

  /**
   * Creates a bam client to the admin.
   */
  public ActorClient createAdminClient(String uid)
  {
    return new SimpleActorClient(getAdminBroker(), uid, null);
  }
View Full Code Here

  }

  @Override
  public ActorClient createClient(String uid, String resource)
  {
    SimpleActorClient client = new SimpleActorClient(_broker, uid, resource);
   
    return client;
  }
View Full Code Here

TOP

Related Classes of com.caucho.bam.SimpleActorClient

Copyright © 2018 www.massapicom. 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.