Module org.newsclub.net.unix.demo
Interface StreamService
- All Superinterfaces:
Remote
- All Known Implementing Classes:
StreamServiceImpl
The
StreamServer
's RMI service.- Author:
- Christian Kohlschütter
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionopenForReading
(File path) Opens the given file for reading.openForWriting
(File path) Opens the given file for writing.
-
Method Details
-
openForReading
Opens the given file for reading.- Parameters:
path
- The file to open.- Returns:
- A remote instance for the file.
- Throws:
IOException
- on error.
-
openForWriting
Opens the given file for writing.- Parameters:
path
- The file to open.- Returns:
- A remote instance for the file.
- Throws:
IOException
- on error.
-