Package com.corundumstudio.socketio.store.pubsub

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


            listener.onDisconnect(client);
        }
        allClients.remove(client);

        leave(getName(), client.getSessionId());
        storeFactory.getPubSubStore().publish(PubSubStore.LEAVE, new JoinLeaveMessage(client.getSessionId(), getName()));
    }
View Full Code Here


        for (ConnectListener listener : connectListeners) {
            listener.onConnect(client);
        }

        join(getName(), client.getSessionId());
        storeFactory.getPubSubStore().publish(PubSubStore.JOIN, new JoinLeaveMessage(client.getSessionId(), getName()));
    }
View Full Code Here

    public void joinRoom(String room, UUID sessionId) {
        room += getName() + "/" + room;

        join(room, sessionId);
        storeFactory.getPubSubStore().publish(PubSubStore.JOIN, new JoinLeaveMessage(sessionId, room));
    }
View Full Code Here

    public void leaveRoom(String room, UUID sessionId) {
        room += getName() + "/" + room;

        leave(room, sessionId);
        storeFactory.getPubSubStore().publish(PubSubStore.LEAVE, new JoinLeaveMessage(sessionId, room));
    }
View Full Code Here

TOP

Related Classes of com.corundumstudio.socketio.store.pubsub.JoinLeaveMessage

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.