|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object toolbox.services.BaseService toolbox.services.socket.SocketClientService toolbox.services.socket.simple.SimpleSocketServiceImpl
public class SimpleSocketServiceImpl
Default implementation of the SimpleSocketService
interface.
Constructor Summary | |
---|---|
SimpleSocketServiceImpl()
Default constructor. |
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. |
Methods inherited from class toolbox.services.socket.SocketClientService |
---|
create, destroy, getSocketClient, getSocketClientManager |
Methods inherited from class toolbox.services.BaseService |
---|
getConfigHome, getName, getProperties, getProperty, getXMLProperties, logConfig, logFine, logFiner, logFinest, logInfo, logSevere, logWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleSocketServiceImpl()
Method Detail |
---|
public SocketMessage request(SocketMessage message) throws SimpleSocketException
request
in interface SimpleSocketService
message
- SocketMessage instance containing the request data.
SimpleSocketException
- if an error occurs during socket
communication.public void publish(SocketMessage message) throws SimpleSocketException
publish
in interface SimpleSocketService
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 |