org.mftech.dawn.runtime.client.communication
Class DawnRemoteConnector
java.lang.Object
org.mftech.dawn.runtime.client.communication.DawnRemoteConnector
public class DawnRemoteConnector
- extends java.lang.Object
- Author:
- killa
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RMI
public static final int RMI
- See Also:
- Constant Field Values
SOAP
public static final int SOAP
- See Also:
- Constant Field Values
servername
public static java.lang.String servername
DawnRemoteConnector
public DawnRemoteConnector()
getInstance
public static DawnRemoteConnection getInstance()
throws ServerNotAvailableException,
DawnRemoteConnectorNotInitializedException
- returns an instance of the Connector
- Returns:
-
- Throws:
ServerNotAvailableException
DawnRemoteConnectorNotInitializedException
initialize
public static void initialize(java.lang.String serverName)
- Parameters:
serverName -
initRemoteController
public static void initRemoteController()
throws DawnRemoteConnectorNotInitializedException
- initializes the connection to the server
- Throws:
DawnRemoteConnectorNotInitializedException
isServerAvailable
public static boolean isServerAvailable()
- Returns:
- true if the server is available, false otherwise
setCurrentType
public static void setCurrentType(int currentType)