Package | Description |
---|---|
io.github.flowersinthesand.portal |
Modifier and Type | Method and Description |
---|---|
Sentence |
Server.all()
Returns a sentence that all of the socket in this server or all of the
server if it's in a clustered environment have to follow.
|
Sentence |
DefaultServer.all() |
Sentence |
Server.byId(String id)
Returns a sentence that the socket of the given id in this server or all
of the server if it's in a clustered environment have to follow.
|
Sentence |
DefaultServer.byId(String id) |
Sentence |
Server.byTag(String... names)
Returns a sentence that the socket tagged with all of the given names in
this server or all of the server if it's in a clustered environment have
to follow.
|
Sentence |
DefaultServer.byTag(String... names) |
Sentence |
Sentence.close()
With respect to sockets, closes the session.
|
Sentence |
Sentence.send(String event)
With respect to sockets, sends a given event without data.
|
Sentence |
Sentence.send(String event,
Object data)
With respect to sockets, sends a given event with data.
|
Copyright 2012-2014, Donghwan Kim