public class YWorkQueueConnection extends YConnection
_handle, _url
Constructor and Description |
---|
YWorkQueueConnection() |
YWorkQueueConnection(java.lang.String urlStr) |
YWorkQueueConnection(java.lang.String host,
int port) |
YWorkQueueConnection(java.net.URL url) |
Modifier and Type | Method and Description |
---|---|
boolean |
connect()
Opens a connection to the resource service.
|
WorkQueueGatewayClient |
getClient() |
protected java.lang.String |
getURLFilePath() |
protected void |
init()
Called from the super class to do any initialisation tasks
|
boolean |
isConnected()
Checks that a connection is open.
|
boolean |
unloadSpecification(YSpecificationID specID)
Unloads a specification from the engine.
|
connect, disconnect, disconnect, getHost, getPort, getURL, isConnected, setPassword, setURL, setURL, setURL, setUserID, testConnection
public YWorkQueueConnection()
public YWorkQueueConnection(java.lang.String host, int port) throws java.net.MalformedURLException
java.net.MalformedURLException
public YWorkQueueConnection(java.lang.String urlStr)
public YWorkQueueConnection(java.net.URL url)
public boolean connect() throws java.io.IOException
java.io.IOException
- if there's a problem connection to the service.public boolean isConnected()
public boolean unloadSpecification(YSpecificationID specID) throws java.io.IOException
specID
- the specification to removejava.io.IOException
protected void init()
init
in class YConnection
protected java.lang.String getURLFilePath()
getURLFilePath
in class YConnection
public WorkQueueGatewayClient getClient()
getClient
in class YConnection