com.aelitis.azureus.core.clientmessageservice.secure.impl
Class SecureMessageServiceClientImpl
java.lang.Object
com.aelitis.azureus.core.clientmessageservice.secure.impl.SecureMessageServiceClientImpl
- All Implemented Interfaces:
- SecureMessageServiceClient
public class SecureMessageServiceClientImpl
- extends java.lang.Object
- implements SecureMessageServiceClient
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STATUS_OK
public static final int STATUS_OK
- See Also:
- Constant Field Values
STATUS_LOGON_FAIL
public static final int STATUS_LOGON_FAIL
- See Also:
- Constant Field Values
STATUS_INVALID_SEQUENCE
public static final int STATUS_INVALID_SEQUENCE
- See Also:
- Constant Field Values
STATUS_FAILED
public static final int STATUS_FAILED
- See Also:
- Constant Field Values
STATUS_ABORT
public static final int STATUS_ABORT
- See Also:
- Constant Field Values
SERVICE_NAME
public static final java.lang.String SERVICE_NAME
- See Also:
- Constant Field Values
SecureMessageServiceClientImpl
public SecureMessageServiceClientImpl(java.lang.String _host,
int _port,
int _timeout_secs,
java.security.interfaces.RSAPublicKey _key,
SecureMessageServiceClientAdapter _adapter)
sendMessages
public void sendMessages()
- Description copied from interface:
SecureMessageServiceClient
- This shouldn't be required under normal circumstances as message addition causes
dispatch and the server handles retries itself. However, sometimes it is necessary to
force a dispatch to occur (e.g. to validate new authentication information immediately
rather than wait for it to happen naturally)
- Specified by:
sendMessages
in interface SecureMessageServiceClient
sendMessagesSupport
protected void sendMessagesSupport()
sendMessage
public SecureMessageServiceClientMessage sendMessage(java.util.Map request,
java.lang.Object data,
java.lang.String description)
- Specified by:
sendMessage
in interface SecureMessageServiceClient
cancel
protected void cancel(SecureMessageServiceClientMessage message)
getMessages
public SecureMessageServiceClientMessage[] getMessages()
- Specified by:
getMessages
in interface SecureMessageServiceClient
addListener
public void addListener(SecureMessageServiceClientListener l)
- Specified by:
addListener
in interface SecureMessageServiceClient
removeListener
public void removeListener(SecureMessageServiceClientListener l)
- Specified by:
removeListener
in interface SecureMessageServiceClient