org.micropsi.common.communication
Class XMLTCPChannelClient
java.lang.Object
org.micropsi.common.communication.XMLTCPChannelClient
- All Implemented Interfaces:
- ComChannelClientIF
- public class XMLTCPChannelClient
- extends java.lang.Object
- implements ComChannelClientIF
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
servletUrl
protected java.net.URL servletUrl
codec
protected AbstractXMLObjectCodec codec
useThreadPool
protected boolean useThreadPool
XMLTCPChannelClient
public XMLTCPChannelClient(java.lang.String servletUrl,
AbstractXMLObjectCodec codec,
boolean useThreadPool)
throws MicropsiException
performRequest
public ComChannelResponse performRequest(ComChannelRequest request)
throws MicropsiException
- Specified by:
performRequest in interface ComChannelClientIF
- Throws:
MicropsiException
performRequestNB
public void performRequestNB(ComChannelRequest request,
CallBackIF callback)
throws MicropsiException
- Specified by:
performRequestNB in interface ComChannelClientIF
- Throws:
MicropsiException
.