|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SimpleSocketService
Interface that defines a simple client socket API.
Method Summary | |
---|---|
void |
publish(SocketMessage message)
Perform a 1-way asynhronous fire and forget operation. |
SocketMessage |
request(SocketMessage message)
Perform a 2-way synchronous request/reply operation. |
Method Detail |
---|
SocketMessage request(SocketMessage message) throws SimpleSocketException
message
- SocketMessage instance containing the request data.
SimpleSocketException
- if an error occurs during socket
communication.void publish(SocketMessage message) throws SimpleSocketException
message
- SocketMessage instance containing the publish data.
SimpleSocketException
- if the publish action could not be
performed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |