Protege 3.5

edu.stanford.smi.protege.server
Interface RemoteSimpleStream

All Superinterfaces:
Remote
All Known Implementing Classes:
SimpleStream

public interface RemoteSimpleStream
extends Remote

This interface is used to transfer the project (.pprj) file from the server to the client. It is very primitive but for this purpose nothing more is really needed. The idea here is that the server gets to choose the buffer size.

Author:
tredmond

Method Summary
 void close()
           
 byte[] read()
          Read some buffer size count of bytes until it reaches the end of the file at which point it returns null.
 

Method Detail

read

byte[] read()
            throws RemoteException
Read some buffer size count of bytes until it reaches the end of the file at which point it returns null.

Returns:
Throws:
RemoteException

close

void close()
           throws RemoteException
Throws:
RemoteException

Protege 3.5

Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2013 Stanford University.