Overview | Package | Class | Tree | Deprecated | Index | Help
| Protege 3.5 alpha
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Protege 3.5 alpha
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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