dk.vajhoej.isam.remote
Class ByteServer

java.lang.Object
  extended by dk.vajhoej.isam.remote.ByteServer
All Implemented Interfaces:
IsamProtocol, IsamProtocolServer

public class ByteServer
extends java.lang.Object
implements IsamProtocolServer

Class ObjectServer implement IsamProtocolServer using ObjectStream's.


Field Summary
 
Fields inherited from interface dk.vajhoej.isam.remote.IsamProtocol
B_V1, CLOSE, CREATE, DELETE, ERROR, FIND_GE, FIND_GT, FIND_LE, FIND_LT, O_V1, OK, READ, RESULT_CLOSE, RESULT_CURRENT, RESULT_READ, UPDATE
 
Constructor Summary
ByteServer(java.io.InputStream is, java.io.OutputStream os)
          Create instance of ObjectServer.
 
Method Summary
 void process(IsamSource isam)
          Process all incoming commands.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteServer

public ByteServer(java.io.InputStream is,
                  java.io.OutputStream os)
Create instance of ObjectServer.

Parameters:
is - input stream
os - output stream
Throws:
IsamException - if problem with ISAM source
Method Detail

process

public void process(IsamSource isam)
             throws IsamException,
                    RecordException
Description copied from interface: IsamProtocolServer
Process all incoming commands.

Specified by:
process in interface IsamProtocolServer
Parameters:
isam - ISAM source
Throws:
IsamException - if problems with ISAM source
RecordException - if problems with record definition