public class FileOutgoingTransport extends java.lang.Object implements IOutgoingWithResponseTransport
| Constructor and Description |
|---|
FileOutgoingTransport(Node remoteNode,
Node localNode,
java.lang.String outgoingDir) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
complete(boolean success) |
java.lang.String |
getOutgoingDir() |
java.util.List<OutgoingBatch> |
getProcessedBatches() |
ChannelMap |
getSuspendIgnoreChannelLists(IConfigurationService configurationService,
java.lang.String queue,
Node targetNode)
This returns a (combined) list of suspended or ignored channels.
|
java.io.BufferedWriter |
getWriter() |
boolean |
isOpen() |
java.io.OutputStream |
openStream() |
java.io.BufferedWriter |
openWriter() |
java.io.BufferedReader |
readResponse() |
void |
setProcessedBatches(java.util.List<OutgoingBatch> processedBatches) |
public java.lang.String getOutgoingDir()
public java.io.BufferedWriter openWriter()
openWriter in interface IOutgoingTransportpublic java.io.BufferedWriter getWriter()
getWriter in interface IOutgoingTransportpublic java.io.OutputStream openStream()
openStream in interface IOutgoingTransportpublic java.io.BufferedReader readResponse()
throws java.io.IOException
readResponse in interface IOutgoingWithResponseTransportjava.io.IOExceptionpublic void close()
close in interface IOutgoingTransportpublic boolean isOpen()
isOpen in interface IOutgoingTransportpublic ChannelMap getSuspendIgnoreChannelLists(IConfigurationService configurationService, java.lang.String queue, Node targetNode)
IOutgoingTransportgetSuspendIgnoreChannelLists in interface IOutgoingTransportpublic void complete(boolean success)
public java.util.List<OutgoingBatch> getProcessedBatches()
public void setProcessedBatches(java.util.List<OutgoingBatch> processedBatches)