ix.applet
Class CGIRelay
java.lang.Object
ix.applet.CGIRelay
- Direct Known Subclasses:
- CGIServerStatus
public class CGIRelay
- extends java.lang.Object
Passes messages between an AppletCommunicationStrategy
and a MessageServer
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serverAddr
ServiceAddress serverAddr
strategy
MessageServer.Strategy strategy
CGIRelay
public CGIRelay()
main
public static void main(java.lang.String[] argv)
handleRequest
void handleRequest()
throws java.lang.Exception
- Throws:
java.lang.Exception
getInput
java.lang.String getInput()
throws java.io.IOException,
java.io.UnsupportedEncodingException
- Throws:
java.io.IOException
java.io.UnsupportedEncodingException
askMessageServer
java.lang.String askMessageServer(AppletMessage message)
printReply
void printReply(java.lang.String reply)
throws java.io.IOException,
java.io.UnsupportedEncodingException
- Throws:
java.io.IOException
java.io.UnsupportedEncodingException
sendStatusToMessageServer
void sendStatusToMessageServer(java.lang.String status)