Examples of DisconnectMessage


Examples of asia.stampy.client.message.disconnect.DisconnectMessage

   */
  public void disconnect() throws Exception {
    synchronized (waiter) {
      waiter.wait();
    }
    gateway.broadcastMessage(new DisconnectMessage());
    end = System.nanoTime();
  }
View Full Code Here

Examples of asia.stampy.client.message.disconnect.DisconnectMessage

    message.getHeader().setReceipt(id);
    getGateway().broadcastMessage(message);
  }

  private void sendDisconnect(String id) throws InterceptException {
    DisconnectMessage message = new DisconnectMessage();
    message.getHeader().setReceipt(id);
    getGateway().broadcastMessage(message);
  }
View Full Code Here

Examples of asia.stampy.client.message.disconnect.DisconnectMessage

   *
   * @throws Exception
   *           the exception
   */
  public void disconnect() throws Exception {
    gateway.broadcastMessage(new DisconnectMessage());
  }
View Full Code Here

Examples of asia.stampy.client.message.disconnect.DisconnectMessage

      break;
    case CONNECTED:
      message = (MSG) new ConnectedMessage();
      break;
    case DISCONNECT:
      message = (MSG) new DisconnectMessage();
      break;
    case ERROR:
      ErrorMessage error = new ErrorMessage();
      message = (MSG) error;
      break;
View Full Code Here

Examples of clueless.messaging.DisconnectMessage

  }

  @Override
  public void handleDisconnectEvent(DisconnectEvent event) {
    // The client being controlled by this controller has chosen to quit
    client.send(new DisconnectMessage());
   
  }
View Full Code Here

Examples of com.corundumstudio.socketio.store.pubsub.DisconnectMessage

    public void onDisconnect(ClientHead client) {
        ackManager.onDisconnect(client);
        authorizeHandler.onDisconnect(client);
        configuration.getStoreFactory().onDisconnect(client);

        configuration.getStoreFactory().pubSubStore().publish(PubSubStore.DISCONNECT, new DisconnectMessage(client.getSessionId()));

        log.debug("Client with sessionId: {} disconnected", client.getSessionId());
    }
View Full Code Here

Examples of com.corundumstudio.socketio.store.pubsub.DisconnectMessage

        webSocketTransport.onDisconnect(client);
        flashSocketTransport.onDisconnect(client);
        authorizeHandler.onDisconnect(client);
        configuration.getStoreFactory().onDisconnect(client);

        configuration.getStoreFactory().pubSubStore().publish(PubSubStore.DISCONNECT, new DisconnectMessage(client.getSessionId()));

        log.debug("Client with sessionId: {} disconnected", client.getSessionId());
    }
View Full Code Here

Examples of com.corundumstudio.socketio.store.pubsub.DisconnectMessage

        webSocketTransport.onDisconnect(client);
        flashSocketTransport.onDisconnect(client);
        authorizeHandler.onDisconnect(client);
        configuration.getStoreFactory().onDisconnect(client);

        configuration.getStoreFactory().pubSubStore().publish(PubSubStore.DISCONNECT, new DisconnectMessage(client.getSessionId()));

        log.debug("Client with sessionId: {} disconnected", client.getSessionId());
    }
View Full Code Here

Examples of com.corundumstudio.socketio.store.pubsub.DisconnectMessage

        webSocketTransport.onDisconnect(client);
        flashSocketTransport.onDisconnect(client);
        authorizeHandler.onDisconnect(client);
        configuration.getStoreFactory().onDisconnect(client);

        configuration.getStoreFactory().pubSubStore().publish(PubSubStore.DISCONNECT, new DisconnectMessage(client.getSessionId()));

        log.debug("Client with sessionId: {} disconnected", client.getSessionId());
    }
View Full Code Here

Examples of com.corundumstudio.socketio.store.pubsub.DisconnectMessage

        webSocketTransport.onDisconnect(client);
        flashSocketTransport.onDisconnect(client);
        authorizeHandler.onDisconnect(client);
        configuration.getStoreFactory().onDisconnect(client);

        configuration.getStoreFactory().getPubSubStore().publish(PubSubStore.DISCONNECT, new DisconnectMessage(client.getSessionId()));

        log.debug("Client with sessionId: {} disconnected", client.getSessionId());
    }
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.