public class ByteServer extends java.lang.Object implements IsamProtocolServer
B_V1, CLOSE, CREATE, DELETE, ERROR, FIND_ALL, FIND_GE, FIND_GT, FIND_LE, FIND_LT, O_V1, OK, READ, RESULT_CLOSE, RESULT_CURRENT, RESULT_READ, UPDATE
Constructor and Description |
---|
ByteServer(java.io.InputStream is,
java.io.OutputStream os)
Create instance of ObjectServer.
|
Modifier and Type | Method and Description |
---|---|
void |
process(IsamSource isam)
Process all incoming commands.
|
public ByteServer(java.io.InputStream is, java.io.OutputStream os)
is
- input streamos
- output streampublic void process(IsamSource isam) throws IsamException, RecordException
IsamProtocolServer
process
in interface IsamProtocolServer
isam
- ISAM sourceIsamException
- if problems with ISAM sourceRecordException
- if problems with record definition