au.edu.swin.synergy.plugin.syndicate.event
Class BSyndRefreshCE
java.lang.Object
|
+--java.util.EventObject
|
+--au.edu.swin.synergy.kernel.BCommandEvent
|
+--au.edu.swin.synergy.plugin.syndicate.event.BSyndRefreshCE
- public class BSyndRefreshCE
- extends BCommandEvent
Refreshes or restarts the connection to the Syndicate database
- See Also:
- Serialized Form
Field Summary |
static int |
kDBError
The connection failed, and cannot be restarted. |
static int |
kReconnect
The connection failed, and has been reconneted successfully. |
static int |
kRefresh
The server has been refreshed. |
protected int |
serverStatus
Stores the server status. |
Methods inherited from class au.edu.swin.synergy.kernel.BCommandEvent |
decrementThreadCount,
doComplete,
doInit,
getAutoComplete,
getCompletionObject,
getCompletionStatus,
getConnectionID,
getIndex,
getNetworkStatus,
getPipe,
getUndoable,
setAutoComplete,
setCompletionObject,
setCompletionStatus,
setConnectionID,
setIndex,
setNetworkStatus,
setPipe,
setThreadCount,
setUndoable |
kReconnect
public static final int kReconnect
- The connection failed, and has been reconneted successfully.
kRefresh
public static final int kRefresh
- The server has been refreshed.
kDBError
public static final int kDBError
- The connection failed, and cannot be restarted.
serverStatus
protected int serverStatus
- Stores the server status.
BSyndRefreshCE
public BSyndRefreshCE(Object source)
- Creates a new syndicate server refresh event.
- Parameters:
source
- The source of the event.
getServerStatus
public int getServerStatus()
- Get the connection status.
- Returns:
- The connection status (binary or with kConOK to check if OK).
setServerStatus
public void setServerStatus(int serverStatus)
- Set the server status.
- Parameters:
serverStatus
- The server status.