org.micropsi.common.communication
Class XMLTCPChannelClient

java.lang.Object
  extended byorg.micropsi.common.communication.XMLTCPChannelClient
All Implemented Interfaces:
ComChannelClientIF

public class XMLTCPChannelClient
extends java.lang.Object
implements ComChannelClientIF


Field Summary
protected  AbstractXMLObjectCodec codec
           
protected  java.net.URL servletUrl
           
protected  boolean useThreadPool
           
 
Constructor Summary
XMLTCPChannelClient(java.lang.String servletUrl, AbstractXMLObjectCodec codec, boolean useThreadPool)
           
 
Method Summary
 ComChannelResponse performRequest(ComChannelRequest request)
           
 void performRequestNB(ComChannelRequest request, CallBackIF callback)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

servletUrl

protected java.net.URL servletUrl

codec

protected AbstractXMLObjectCodec codec

useThreadPool

protected boolean useThreadPool
Constructor Detail

XMLTCPChannelClient

public XMLTCPChannelClient(java.lang.String servletUrl,
                           AbstractXMLObjectCodec codec,
                           boolean useThreadPool)
                    throws MicropsiException
Method Detail

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

(c) by Micropsi Project: http://www.cognitive-agents.org

.