org.boris.xlloop.codec
Class BinaryRequestProtocol

java.lang.Object
  extended by org.boris.xlloop.codec.BinaryRequestProtocol
All Implemented Interfaces:
IRequestProtocol

public class BinaryRequestProtocol
extends java.lang.Object
implements IRequestProtocol


Constructor Summary
BinaryRequestProtocol()
           
 
Method Summary
 void initialise(java.net.Socket socket)
           
 XLoper receive(java.net.Socket socket)
           
 void send(java.net.Socket socket, XLoper data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinaryRequestProtocol

public BinaryRequestProtocol()
Method Detail

initialise

public void initialise(java.net.Socket socket)
                throws java.io.IOException
Specified by:
initialise in interface IRequestProtocol
Throws:
java.io.IOException

receive

public XLoper receive(java.net.Socket socket)
               throws java.io.IOException
Specified by:
receive in interface IRequestProtocol
Throws:
java.io.IOException

send

public void send(java.net.Socket socket,
                 XLoper data)
          throws java.io.IOException
Specified by:
send in interface IRequestProtocol
Throws:
java.io.IOException