public class ObjectServer extends java.lang.Object implements IsamProtocolServer
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 and Description |
|---|
ObjectServer(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 ObjectServer(java.io.InputStream is,
java.io.OutputStream os)
throws IsamException
is - input stream to wrap in input object streamos - output stream to wrap in output object streamIsamException - if problem with ISAM sourcepublic void process(IsamSource isam) throws IsamException, RecordException
IsamProtocolServerprocess in interface IsamProtocolServerisam - ISAM sourceIsamException - if problems with ISAM sourceRecordException - if problems with record definition