public class Sentence extends Object
Sentence
is a series of predicates that a group of socket have to
follow. It makes easy to write one-liner action and uses internally built
actions implementing Serializable
that is typically needed in cluster
environments. Use of Sentence
is preferred to that of action if the
goal is the same.Modifier and Type | Method and Description |
---|---|
Sentence |
close()
With respect to sockets, closes the session.
|
Sentence |
send(String event)
With respect to sockets, sends a given event without data.
|
Sentence |
send(String event,
Object data)
With respect to sockets, sends a given event with data.
|
Copyright 2012-2014, Donghwan Kim