public static interface ServerSocket.Reply<T>
T
, see ServerSocket.on(String, Action)
.Modifier and Type | Method and Description |
---|---|
T |
data()
The original data.
|
void |
reject()
Rejects.
|
void |
reject(Object error)
Rejects with the reason.
|
void |
resolve()
Resolves.
|
void |
resolve(Object data)
Resolves with the value.
|
Copyright 2015, The Cettia Project