|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.Writer
fedora.server.journal.readerwriter.multicast.rmi.RmiTransportWriter
public class RmiTransportWriter
Title: RmiTransportWriter.java
Description: A writer that passes characters on to an
RmiTransportSink. You should wrap this in a BufferedWriter to reduce
network traffic to something manageable.
| Field Summary |
|---|
| Fields inherited from class java.io.Writer |
|---|
lock |
| Constructor Summary | |
|---|---|
RmiTransportWriter(RmiJournalReceiverInterface receiver,
java.lang.String repositoryHash,
java.lang.String filename)
When the writer is created, open the connection to the receiver. |
|
| Method Summary | |
|---|---|
void |
close()
Time to close the file? Tell the receiver. |
void |
flush()
Flush has no effect. |
void |
write(char[] cbuf,
int off,
int len)
Each time characters are written, send them to the receiver. |
| Methods inherited from class java.io.Writer |
|---|
append, append, append, write, write, write, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RmiTransportWriter(RmiJournalReceiverInterface receiver,
java.lang.String repositoryHash,
java.lang.String filename)
throws JournalException
JournalException| Method Detail |
|---|
public void write(char[] cbuf,
int off,
int len)
throws java.io.IOException
write in class java.io.Writerjava.io.IOException
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in class java.io.Writerjava.io.IOException
public void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.Writerjava.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||