Odyssey Wire Protocols

This page documents the "wire" protocols used by the Odyssey system, i.e. the exact formats of the byte sequences sent through various communications channels.

We have the following wire protocol request types:

The stdin of the main server JVM consists of a sequence of JVM requests. The stdin of the other JVMs consists of an SSH process output (OdysseyWireProtocolConnectKey) followed by a sequence of JVM requests (OdysseyWireProtocolJVMRequest).

As well, it is worth mentioning the format of the output of the adapters specifically:

  • restart: See OdysseyWireProtocolConnectKey.
  • webgate, cgigate: CGI. These adapters simply copy CGI output generated by the JVM to their stdout and hence to the controlling web server. The format is specified by the CGI specification.
  • cmdgate: FIFOs for stdin, stdout, and stderr are set up. The stdin, stdout, and stderr of the adapter are connected to the JVM, where they appear as an InputStream and two OutputStream objects.

-- IsaacMorland - 16 Jan 2007

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2007-01-16 - IsaacMorland
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback