|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tensegrity.palojava.Palo
public class Palo
Palo
A singleton which loads the required palo libraries and provides methods for
creating and destroying connections to the palo server.
Method Summary | |
---|---|
void |
destroy()
Releases any resources associated with the internal used library functions. |
static Palo |
getInstance()
Returns the globally used Palo instance for connecting to
the palo server |
void |
init()
Initializes this Palo instance if it was not initialized
before. |
IConnection |
newConnection(java.lang.String server,
java.lang.String service,
java.lang.String username,
java.lang.String password)
Creates a new IConnection object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Palo getInstance()
Palo
instance for connecting to
the palo server
Palo
instancepublic void init()
Palo
instance if it was not initialized
before.
public void destroy()
public IConnection newConnection(java.lang.String server, java.lang.String service, java.lang.String username, java.lang.String password)
IConnection
object.
server
- the server name, e.g. localhostservice
- the port numberusername
- the login namepassword
- the login password
IConnection
instance.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |