5556575859606162636465
* Returns the address at the end of the stream. */ @Override public String getAddress() { Broker broker = getBroker(); if (broker != null) return getClass().getSimpleName() + "@" + getBroker().getAddress(); else return getClass().getSimpleName() + "@";
194195196197198199200201202203204
throws IOException { HmtpWebSocketReader in = _hmtpReader; do { Broker broker = _proxyBroker; if (! in.readPacket(broker)) { return false; } } while (in.isDataAvailable());
213214215216217218219220221222223224225226227
public void onCloseConnection() { HmtpLinkActor linkActor = _linkActor; _linkActor = null; Broker linkBroker = _toLinkBroker; _toLinkBroker = null; if (linkBroker != null) linkBroker.close(); if (linkActor != null) { linkActor.onCloseConnection(); }
141142143144145146147148149150151
if ("default".equals(host.getHostName()) && ! "localhost".equals(name)) { return null; } Broker broker = host.getBamBroker(); synchronized (_brokerMap) { _brokerMap.put(name, new WeakReference<Broker>(broker)); }
526527528529530531532533534535536
return null; if ("local".equals(domain)) return getBrokerMailbox(); Broker broker = null; if (_manager != null) broker = _manager.findBroker(domain); if (broker == this)