org.basex.server
Class ServerSession
java.lang.Object
org.basex.core.Session
org.basex.core.LocalSession
org.basex.server.ServerSession
public final class ServerSession
- extends LocalSession
This wrapper executes server commands locally.
- Author:
- Workgroup DBIS, University of Konstanz 2005-10, ISC License, Christian Gruen
Method Summary |
boolean |
execute(Proc pr,
OutputStream out)
Executes a process and prints the result to the specified stream. |
ServerSession
public ServerSession(Context context,
Semaphore s)
- Constructor.
- Parameters:
context
- contexts
- semaphore reference
execute
public boolean execute(Proc pr,
OutputStream out)
- Description copied from class:
Session
- Executes a process and prints the result to the specified stream.
- Overrides:
execute
in class LocalSession
- Parameters:
pr
- process to be executedout
- output stream
- Returns:
- success of operation