Examples of KeepAliveMessage


Examples of com.torrent4j.net.peerwire.messages.KeepAliveMessage

    write(new PortMessage(dhtPort));
  }

  @Override
  public void keepAlive() {
    write(new KeepAliveMessage());
  }
View Full Code Here

Examples of com.torrent4j.net.peerwire.messages.KeepAliveMessage

      message.read(buffer);

      return message;
    } else {
      if(buffer.readableBytes() == 0)
        return new KeepAliveMessage();
     
      final byte opcode = buffer.readByte();
      final PeerWireMessage message;
      switch (opcode) {
      case CancelMessage.MESSAGE_ID:
View Full Code Here

Examples of org.bigbluebutton.api.messaging.converters.messages.KeepAliveMessage

    log.info("Sending end meeting message to bbb-apps:[{}]", json);
    sender.send(MessagingConstants.TO_MEETING_CHANNEL, json)
  }

  public void sendKeepAlive(String keepAliveId) {
    KeepAliveMessage msg = new KeepAliveMessage(keepAliveId);
    String json = MessageToJson.keepAliveMessageToJson(msg);
    sender.send(MessagingConstants.TO_SYSTEM_CHANNEL, json);   
  }
View Full Code Here

Examples of org.bigbluebutton.conference.service.messaging.KeepAliveMessage

    } else if (channel.equalsIgnoreCase(MessagingConstants.TO_SYSTEM_CHANNEL)) {
      IMessage msg = MessageFromJsonConverter.convert(message);
     
      if (msg != null) {
        if (msg instanceof KeepAliveMessage) {
          KeepAliveMessage emm = (KeepAliveMessage) msg;
          log.debug("Received KeepAliveMessage request. Meeting id [{}]", emm.keepAliveId);
          bbbGW.isAliveAudit(emm.keepAliveId);         
        }
      }
    }
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.