Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Constructor Summary
`ServerSession(Context context, Semaphore s)` Constructor.

Method Summary
`boolean` | `execute(Proc pr, OutputStream out)` Executes a process and prints the result to the specified stream.

Methods inherited from class org.basex.core.LocalSession
`close, execute, info`

Methods inherited from class org.basex.core.Session
`execute, execute`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ServerSession

    public ServerSession(Context context,
                         Semaphore s)

  Constructor.

  Parameters:
    `context` - context
    `s` - semaphore reference

Method Detail

### 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 executed
    `out` - output stream
  Returns:
    success of operation

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD