|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.apelon.apelonserver.client.ServerConnection com.apelon.apelonserver.client.ServerConnectionSocket com.apelon.apelonserver.client.ServerConnectionSecureSocket
public class ServerConnectionSecureSocket
Title: Secure ServerConnectionSocket class for all Apelon Clients
Description: This class extends the functionality of the ServerConnectionSocket by creating a secure socket connection to the server.
Does by prepending the basic query with authorization token (username+password)
Copyright: Copyright (c) 2002
Company: Apelon Inc.
Field Summary |
---|
Fields inherited from class com.apelon.apelonserver.client.ServerConnectionSocket |
---|
rtt |
Constructor Summary | |
---|---|
ServerConnectionSecureSocket(String host,
int port,
boolean init,
String username,
String password)
Constructor which initializes the socket connection. |
|
ServerConnectionSecureSocket(String host,
int port,
String username,
String password)
Constructor which initializes the socket connection. |
Method Summary | |
---|---|
protected String |
executeQueryRemote(String query)
Executes a given query. |
Methods inherited from class com.apelon.apelonserver.client.ServerConnectionSocket |
---|
close, toString |
Methods inherited from class com.apelon.apelonserver.client.ServerConnection |
---|
ping, setQueryServer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ServerConnectionSecureSocket(String host, int port, String username, String password) throws ApelonException
host
- the host name that is running the serverport
- the port number on which server is listeningusername
- the username for logging on to the serverpassword
- the password for logging on to the server
ApelonException
public ServerConnectionSecureSocket(String host, int port, boolean init, String username, String password) throws ApelonException
host
- the host name that is running the serverport
- the port number on which server is listeninginit
- flag to initialize socket connectionusername
- the username for logging on to the serverpassword
- the password for logging on to the server
ApelonException
Method Detail |
---|
protected String executeQueryRemote(String query) throws ApelonException
executeQueryRemote
in class ServerConnectionSocket
query
-
ApelonException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |