Package org.red5.server.so

Examples of org.red5.server.so.ClientSharedObject.dispatchEvent()


      }
      ISharedObject so = sharedObjectService.getSharedObject(scope, name);
      if (so != null) {
        if (so.isPersistent() == persistent) {
          log.debug("Dispatch persistent shared object");
          so.dispatchEvent(message);
        } else {
          log.warn("Shared object persistence mismatch - current: {} incoming: {}", so.isPersistent(), persistent);
          // reset the object so we can re-use it
          message.reset();
          // add the error event
View Full Code Here


      msg.addEvent(new SharedObjectEvent(
          ISharedObjectEvent.Type.CLIENT_STATUS, "error",
          SO_PERSISTENCE_MISMATCH));
      conn.getChannel((byte) 3).write(msg);
    }
    so.dispatchEvent(object);
  }

}
View Full Code Here

      return;
    }
    if (log.isDebugEnabled()) {
      log.debug("Received SO request: " + object);
    }
    so.dispatchEvent(object);
  }

    private class RTMPClientConnManager implements IRTMPConnManager {

    public RTMPConnection createConnection(Class connCls) {
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.