com.apelon.apelonserver.client
Class TransientSCSocket
java.lang.Object
com.apelon.apelonserver.client.ServerConnection
com.apelon.apelonserver.client.ServerConnectionSocket
com.apelon.apelonserver.client.TransientSCSocket
public class TransientSCSocket
- extends ServerConnectionSocket
Title: Transient Socket Connection Implemenation
Description: This class manages a socket connection by opening one when making
a query and closing after the results from the query are retreived from the server.
Copyright: Copyright (c) 2002
Company:
- Version:
- 1.0
- Author:
- unascribed
TransientSCSocket
public TransientSCSocket(String host,
int port)
throws ApelonException
- Constructor
- Parameters:
host
- the host name/address to connect toport
- the port number on which the server is listening
- Throws:
ApelonException
executeQueryRemote
protected String executeQueryRemote(String query)
throws ApelonException
- Executes a given query on the remote server
- Overrides:
executeQueryRemote
in class ServerConnectionSocket
- Parameters:
query
- the query string to be executed
- Returns:
- String the results from the above query
- Throws:
ApelonException
Copyright © 2011. All Rights Reserved.