|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object anon.util.AbstractMessage jap.forward.JAPRoutingMessage
public final class JAPRoutingMessage
This is a message implementation used for forwarding-specific messages. It is used from some forwarding related classes to notify the observers. The message code identifies the reason of the notification.
Field Summary | |
---|---|
static int |
ALLOWED_MIXCASCADES_LIST_CHANGED
This message is sent from JAPRoutingUseableMixCascades whenever a MixCascade is added/updated/removed in the list of allowed mixcascades for the restricted mode. |
static int |
ALLOWED_MIXCASCADES_POLICY_CHANGED
This message is sent from JAPRoutingUseableMixCascades when the policy of the allowed mixcascades is switched between restricted-to-list or access-to-all mode. |
static int |
CLIENT_SETTINGS_CHANGED
This message is sent from JAPRoutingSettings, if the client settings were changed (whether new connections to the anonymity servers shall use a forwarder, whether it is possible to obtain the information about a forwarder directly from the InfoServices or the mail-gateway has to be used and the InfoService requests need also forwarding). |
static int |
CONNECTION_CLASS_CHANGED
This message is sent from JAPRoutingConnectionClassSelector when the current connection class has been changed (switched to another class). |
static int |
CONNECTION_PARAMETERS_CHANGED
This message is sent from JAPRoutingConnectionClassSelector when the forwarding bandwidth values or the number of simultaneous connections of the current connection class were changed and the forwarding system is updated to the new values. |
static int |
PROPAGANDA_INSTANCES_ADDED
This message is sent after there was added a new forwarding server propaganda instance. |
static int |
REGISTRATION_INFOSERVICES_LIST_CHANGED
This message is sent from JAPRoutingRegistrationInfoServices whenever an InfoService is added/updated/removed in the list of registration infoservices for the registration restricted-to-list mode. |
static int |
REGISTRATION_INFOSERVICES_POLICY_CHANGED
This message is sent from JAPRoutingRegistrationInfoServices when the policy of the registration at the infoservices is switched between restricted-to-list or register-at-all mode. |
static int |
REGISTRATION_STATUS_CHANGED
This message is sent from JAPRoutingRegistrationStatusObserver, if the registration status or the reason why the registration failed has been changed. |
static int |
ROUTING_MODE_CHANGED
This message is sent after the routing mode was changed. |
static int |
SERVER_PORT_CHANGED
This message is sent from JAPRoutingSettings, if the port where the forwarding server is listening on for client requests, was changed successfully (regardless whether the forwarding server is currently running or not). |
static int |
SERVER_STATISTICS_UPDATED
This message is sent from JAPRoutingServerStatisticsListener when new server statistics are available. |
static int |
START_PROPAGANDA_BEGIN
This message is sent, when JAPRoutingSettings.startPropaganda() is called and the propaganda is also started (we are in SERVER_ROUTING_MODE). |
static int |
START_PROPAGANDA_READY
This message is sent, when JAPRoutingSettings.startPropaganda() is ready, which means that all propaganda instances are started. |
static int |
STOP_PROPAGANDA_CALLED
This message is sent, after JAPRoutingSettings.stopPropaganda() was called. |
Constructor Summary | |
---|---|
JAPRoutingMessage(int a_messageCode)
This creates a new JAPRoutingMessage. |
|
JAPRoutingMessage(int a_messageCode,
java.lang.Object a_messageData)
This creates a new JAPRoutingMessage. |
Method Summary |
---|
Methods inherited from class anon.util.AbstractMessage |
---|
getMessageCode, getMessageData |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ROUTING_MODE_CHANGED
public static final int PROPAGANDA_INSTANCES_ADDED
public static final int START_PROPAGANDA_BEGIN
public static final int START_PROPAGANDA_READY
public static final int STOP_PROPAGANDA_CALLED
public static final int CONNECTION_CLASS_CHANGED
public static final int CONNECTION_PARAMETERS_CHANGED
public static final int ALLOWED_MIXCASCADES_POLICY_CHANGED
public static final int ALLOWED_MIXCASCADES_LIST_CHANGED
public static final int REGISTRATION_INFOSERVICES_POLICY_CHANGED
public static final int REGISTRATION_INFOSERVICES_LIST_CHANGED
public static final int SERVER_STATISTICS_UPDATED
public static final int REGISTRATION_STATUS_CHANGED
public static final int SERVER_PORT_CHANGED
public static final int CLIENT_SETTINGS_CHANGED
Constructor Detail |
---|
public JAPRoutingMessage(int a_messageCode)
a_messageCode
- The message code. See the constants in this class.public JAPRoutingMessage(int a_messageCode, java.lang.Object a_messageData)
a_messageCode
- The message code. See the constants in this class.a_messageData
- The data to send with the message.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |