public interface RemoteFileOperations<T>
extends org.apache.camel.component.file.GenericFileOperations<T>
| Modifier and Type | Method and Description |
|---|---|
boolean |
connect(RemoteFileConfiguration configuration)
Connects to the remote server
|
void |
disconnect()
Disconnects from the remote server
|
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) throws org.apache.camel.component.file.GenericFileOperationFailedException
configuration - configurationorg.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 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