writeCommand

writeCommand — sends a command to the DataHub instance (Java and C# only).

Synopsis

For Java and C#:
Exception writeCommand(command); 
String command;
 

Parameters

command

A concatenation of escapedStrings whose original format was a Lisp command.

Returns

This has not yet been documented.

Description

This method is used to send formatted commands to the DataHub instance, and should only be used by those very familiar with the operation of the DataHub program. The DataHub command set is described in the Using Commands chapter of the Cogent DataHub manual. To send a command to the DataHub instance, it must be formatted such that strings and control characters are preserved through the message transfer and delivery process. You must concatenate together the necessary command string, using the escapedString method to provide the necessary protection of strings.

[Note]

The sendLispMessage method gives a similar functionality for C++.

See Also

escapedString