public interface RemoteFileOperations<T>
extends org.apache.camel.component.file.GenericFileOperations<T>
| Modifier and Type | Method and Description |
|---|---|
boolean |
connect(RemoteFileConfiguration configuration,
org.apache.camel.Exchange exchange)
Connects to the remote server
|
void |
disconnect()
Disconnects from the remote server
|
void |
forceDisconnect()
Forces a hard disconnect from the remote server and cause the client to be re-created on next poll.
|
boolean |
isConnected()
Returns whether we are connected to the remote server or not
|
boolean |
sendNoop()
Sends a noop command to the remote server
|
boolean |
sendSiteCommand(String command)
Sends a site command to the remote server
|
boolean connect(RemoteFileConfiguration configuration, org.apache.camel.Exchange exchange) throws org.apache.camel.component.file.GenericFileOperationFailedException
configuration - configurationexchange - the exchange that trigger the connect (if any)org.apache.camel.component.file.GenericFileOperationFailedException - can be thrownboolean isConnected()
throws org.apache.camel.component.file.GenericFileOperationFailedException
org.apache.camel.component.file.GenericFileOperationFailedException - can be thrownvoid disconnect()
throws org.apache.camel.component.file.GenericFileOperationFailedException
org.apache.camel.component.file.GenericFileOperationFailedException - can be thrownvoid forceDisconnect()
throws org.apache.camel.component.file.GenericFileOperationFailedException
org.apache.camel.component.file.GenericFileOperationFailedException - can be thrownboolean sendNoop()
throws org.apache.camel.component.file.GenericFileOperationFailedException
org.apache.camel.component.file.GenericFileOperationFailedException - can be thrownboolean sendSiteCommand(String command) throws org.apache.camel.component.file.GenericFileOperationFailedException
command - the commandorg.apache.camel.component.file.GenericFileOperationFailedException - can be thrownApache Camel