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.jboss.remoting.samples.callback.statistics
Class CallbackServer

    java.lang.Object
      org.jboss.remoting.samples.callback.statistics.CallbackServer

    public class CallbackServer

extends java.lang.Object

Simple remoting server. Uses inner class SampleInvocationHandler as the invocation target handler class, which will generate callback messages upon callback listeners being added.

Author:
  Tom Elrod

Nested Class Summary
`static class` | `CallbackServer.SampleInvocationHandler` Simple invocation handler implementation.

Constructor Summary
`CallbackServer()`

Method Summary
`static void` | `main(java.lang.String[] args)` Can pass transport and port to be used as parameters.
`void` | `setupServer(java.lang.String locatorURI)` Sets up target remoting server.
`void` | `shutdownServer()` Shuts down the server

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

Constructor Detail

### CallbackServer

    public CallbackServer()

Method Detail

### setupServer

    public void setupServer(java.lang.String locatorURI)
                     throws java.lang.Exception

  Sets up target remoting server.

  Parameters:
    `locatorURI` -
  Throws:
    `java.lang.Exception`

### shutdownServer

    public void shutdownServer()

  Shuts down the server

### main

    public static void main(java.lang.String[] args)

  Can pass transport and port to be used as parameters.

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

Copyright ? 1998-2005 JBoss Inc . All Rights Reserved.