Create a session for an empire server at host on port.
An empty string will be returned when unable to the create session.
Mandatory
Destroy specified session, always returns true
Optional but highly recommended
Send a command to server. Returns an array of strings containing server output. Timeout after 30s.
See: Vector sendCommand(String sessionID, String cmd). boolean output controls wheter to return serveroutpu with this command.
Returns a boolean, true if there is data in the output buffer
Returns an array of strings containing server output.
Same as String Readln(String sessionID,boolean clear) with clear=true
Read a single line from the outputbuffer. boolean clear determines wheter to remove from buffer.