|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.kwebs.client.AbstractLayoutServiceClient
de.cau.cs.kieler.kwebs.client.HttpBasedLayoutServiceClient
de.cau.cs.kieler.kwebs.client.jaxws.JaxWsClient
public class JaxWsClient
Client implementation for the JAX-WS web service.
Constructor Summary | |
---|---|
JaxWsClient()
Constructs a new JAX-WS web service client. |
|
JaxWsClient(ServerConfigData theserverConfig)
Constructs a new JAX-WS web service client pointing to the address of the given server configuration. |
Method Summary | |
---|---|
void |
connect()
Connects this client to the layout service. |
void |
disconnect()
Disconnects this client from the layout service. |
byte[] |
getPreviewImage(String previewImage)
Returns a byte array containing the preview image. |
String |
getServiceData()
Returns the meta data from the layout service. |
String |
graphLayout(String serializedGraph,
String format,
List<GraphLayoutOption> options)
Does the graph layout on the layout server the client is connected to. |
boolean |
isConnected()
Returns whether the client is actually connected to the layout service. |
void |
setServerConfig(ServerConfigData theserverConfig)
Sets a new ServerConfigData this client points to. |
Methods inherited from class de.cau.cs.kieler.kwebs.client.HttpBasedLayoutServiceClient |
---|
initSSL, releaseSSL |
Methods inherited from class de.cau.cs.kieler.kwebs.client.AbstractLayoutServiceClient |
---|
getLastError, getLastErrorAsStringArray, getServerConfig, isAvailable, setLastError |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JaxWsClient()
public JaxWsClient(ServerConfigData theserverConfig)
theserverConfig
- the ServerConfigData
of the layout service to be usedMethod Detail |
---|
public boolean isConnected()
public void connect()
public void disconnect()
public final String graphLayout(String serializedGraph, String format, List<GraphLayoutOption> options)
serializedGraph
- the graph to do layout on in serial representationformat
- the format used to serialize the graph Formats
options
- possible layout options
graphLayout
public final String getServiceData()
public final byte[] getPreviewImage(String previewImage)
previewImage
- the identifier of the preview image
public final void setServerConfig(ServerConfigData theserverConfig)
ServerConfigData
this client points to.
Resets the state of this client to disconnected.
setServerConfig
in interface ILayoutServiceClient
setServerConfig
in class AbstractLayoutServiceClient
theserverConfig
- the new server configuration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |