netcom.proxy
Class HandleReturnTask

java.lang.Object
  extended bynetcom.proxy.HandleReturnTask
All Implemented Interfaces:
java.lang.Runnable

public class HandleReturnTask
extends java.lang.Object
implements java.lang.Runnable

Title: Handle Return Task

Description: Class which is a task to handle returning requests and get them back to the PClient/etc

Copyright: Copyright (c) 2002

Company:


Constructor Summary
HandleReturnTask(AbstractRequest back_request, java.util.Collection incoming_sockets, java.util.Map return_streams, Logger log)
          Constructor,
 
Method Summary
 void parseToXML(ReturnRequest back_request)
          Method to parse a returned request back to XML a PClient can understand, then sends it on with sendReturn()
 void run()
           
 void sendReturn(Document xml_doc, java.net.Socket orig_socket)
          Method to send an XML string to an originating socket
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HandleReturnTask

public HandleReturnTask(AbstractRequest back_request,
                        java.util.Collection incoming_sockets,
                        java.util.Map return_streams,
                        Logger log)
Constructor,

Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable

parseToXML

public void parseToXML(ReturnRequest back_request)
Method to parse a returned request back to XML a PClient can understand, then sends it on with sendReturn()


sendReturn

public void sendReturn(Document xml_doc,
                       java.net.Socket orig_socket)
Method to send an XML string to an originating socket