Index
Object HARMONI.HarmoniServer
Connect()
- Connect the client to the Harmoni Server.
Disconnect()
- Notify the Harmoni Server that the client is disconnecting.
EndService(String)
- Terminate the API service on the server.
getAPI()
- Return the api reference for the server.
getArguments()
- Return the Harmoni Server command-line arguments.
getCommandArgs()
- Return the server command-line arguments.
getEngineStartMonitor()
-
getExecutable()
- Return the Harmoni Server executable.
GetFolder()
- Return the API server's current working folder.
getHost()
- Return the host-name of the Harmoni Server.
getName()
- Return the name of the Harmoni Server.
getService()
- Return the service-name of the Harmoni Server.
GetVersion()
- Return a string with the API server version.
OpenEngine(HarmoniClient, boolean)
- Acquire and optionally open a print-engine for this client.
setExecutable(String)
- Set the Harmoni Server executable to the given string.
SetFolder(String)
- Set the API srrver's working folder.
setHost(String)
- Set the host-name of the Harmoni Server.
setName(String)
- Set the name of the Harmoni Server.
SetOption(String, String)
- Set server option with the given value.
StartService(String)
- Start the API service on the server.
Connect
void Connect()
Connect the client to the Harmoni Server.
Disconnect
void Disconnect()
Notify the Harmoni Server that the client is disconnecting.
EndService
void EndService(String apiName)
Terminate the API service on the server.
- Parameters:
apiName - The name of the API that should be terminated.
getAPI
HarmoniAPIServer getAPI()
Return the api reference for the server.
- Returns:
- The API associated with this server.
getArguments
String getArguments()
Return the Harmoni Server command-line arguments.
- Returns:
- The current arguments for this server.
getCommandArgs
String getCommandArgs()
Return the server command-line arguments.
- Returns:
- The command line arguments for this server.
getEngineStartMonitor
HarmoniEngineStartMonitor getEngineStartMonitor()
getExecutable
String getExecutable()
Return the Harmoni Server executable.
- Returns:
- The executatable filename for this server.
GetFolder
String GetFolder()
Return the API server's current working folder.
- Returns:
- The current working folder for the server.
getHost
String getHost()
Return the host-name of the Harmoni Server.
- Returns:
- The host-name of this server.
getName
String getName()
Return the name of the Harmoni Server.
- Returns:
- The name of this server.
getService
String getService()
Return the service-name of the Harmoni Server.
- Returns:
- The service-name of this server.
GetVersion
String GetVersion()
Return a string with the API server version.
- Returns:
- The version string.
OpenEngine
HarmoniEngine OpenEngine(HarmoniClient client,
boolean open)
Acquire and optionally open a print-engine for this client.
- Parameters:
client - The current client instance.
open - If true, open the print-engine on the server.
- Returns:
- A print-engine object.
setExecutable
void setExecutable(String exeString)
Set the Harmoni Server executable to the given string.
- Parameters:
exeString - The path, and filname to the Harmoni Server.
SetFolder
void SetFolder(String folder)
Set the API srrver's working folder.
- Parameters:
folder - The new working directory for the server.
setHost
void setHost(String address)
Set the host-name of the Harmoni Server.
- Parameters:
address - The new host-name for this server.
setName
void setName(String name)
Set the name of the Harmoni Server.
- Parameters:
name - The new name for this server.
SetOption
void SetOption(String option,
String value)
Set server option with the given value.
- Parameters:
option - The name of the option that is being modified.
value - The new value for this option.
StartService
Object StartService(String apiName)
Start the API service on the server.
- Parameters:
apiName - The name of the API object that the server is providing.
Index