Package com.caucho.bam.stream

Examples of com.caucho.bam.stream.NullActor


    init();
  }
 
  public HmtpClient(String url)
  {
    _actor = new NullActor("HmtpClient@" + url);
    _url = url;
   
    init();
  }
View Full Code Here


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

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

  }

  @Override
  public ActorSender createClient(String uid, String resource)
  {
    NullActor actor = new NullActor(uid, _broker);
   
    SimpleActorSender client = new SimpleActorSender(actor, _broker, uid, resource);
   
    return client;
  }
View Full Code Here

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

      if (resource.indexOf('/') == 0)
        resource = resource.substring(1);
     
      NullActor stream = new NullActor(address, broker);

      connection = new SimpleActorSender(stream, broker, address, resource);
      env.addCleanup(new BamConnectionResource(connection));
      env.setSpecialValue("_quercus_bam_connection", connection);
    }
View Full Code Here

TOP

Related Classes of com.caucho.bam.stream.NullActor

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.