public class SecureRemoteCallHandlerObject extends RemoteCallHandlerObject
Handle.ObjectDiscarder, Handle.WaitOnChange
alwaysMultiThreaded, closed, in, ioException, out, runInSingleThread, threadPool, timeOut, useThreadPool
Aborted, Changed, DEFAULT_CHANGE_ACCEPT_TIME, DEFAULT_PROGRESS_RESOLUTION, doing, error, Failed, Failure, OPTION_STOP_IF_NOT_SET, OPTION_TIMEOUT_IF_NOT_SET, progress, progressResolution, returnCode, returnValue, Running, shouldStop, startTime, state, Stopped, stopReason, subHandle, Succeeded, Success, waitChangeAcceptedTime
Constructor and Description |
---|
SecureRemoteCallHandlerObject() |
SecureRemoteCallHandlerObject(BlockInputStream in,
BlockOutputStream out) |
SecureRemoteCallHandlerObject(InputStream in,
OutputStream out,
Object target,
Class targetClass) |
Modifier and Type | Method and Description |
---|---|
void |
setEncryption(DataProcessor decryptor,
DataProcessor encryptor)
Set the encryption to use for sending and receiving calls.
|
void |
setEncryption(String password)
Set the encryption to use for sending and receiving calls.
|
void |
setKeys(EncryptionKey remotePublicKey,
EncryptionKey localPrivateKey) |
addTarget, call, close, closeConnection, doInvoke, doRun, findTarget, freeProxy, getData, getTargetClass, getThreadPool, queueSend, queueSend, removeTarget, runInCurrentThread, sendData, setStreams, setStreams, stop
complete, getDaemon, getThread, interrupt, run, setDaemon, setThreadGroup, sleep, start, start
addParent, changeAccepted, changed, check, check, checkAbortFail, checkAny, checkChangeAccepted, checkFailure, convertError, doChangeTo, fail, getChangeState, getErrorText, getFinalReturnValue, getProperties, getReturnValue, getStoppableWaitOnSuccess, getUnwrappedReturnValue, hasStopped, newWaitOnChange, removeParent, resetProgress, set, setFlags, setProgress, setProgress, setResult, setReturnValue, startDoing, succeed, succeeded, throwErrorIfNotStopped, throwRuntimeError, throwRuntimeError, throwRuntimeError, throwRuntimeError, timeout, timeout, waitChangeAccepted, waitForReturnValue, waitOn, waitOn, waitOn, waitOn, waitOnAny, waitOnAny, waitOnAny, waitOnAny, waitOnChange, waitOnResult, waitOnSuccess, waitOnSuccess, waitReturnValue, waitUntilCompletion, waitUntilCompletion, waitUntilStopped, waitUntilStopped, wasAborted, yield
public SecureRemoteCallHandlerObject()
public SecureRemoteCallHandlerObject(InputStream in, OutputStream out, Object target, Class targetClass)
in
- out
- target
- public SecureRemoteCallHandlerObject(BlockInputStream in, BlockOutputStream out)
in
- out
- target
- public void setEncryption(DataProcessor decryptor, DataProcessor encryptor) throws IOException, IllegalStateException
IOException
IllegalStateException
public void setEncryption(String password) throws IOException
IOException
public void setKeys(EncryptionKey remotePublicKey, EncryptionKey localPrivateKey) throws IOException
IOException