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.serialization
Class SerializationServer

    java.lang.Object
      org.jboss.remoting.samples.serialization.SerializationServer

    public class SerializationServer

extends java.lang.Object

Simple remoting server that uses JBoss Serialization instead of standard java serialization. Will receive and return a non-serializable payload. Uses inner class SampleInvocationHandler as the invocation target handler class.

NOTE: This requires jdk 1.5

Author:
  Tom Elrod

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

Constructor Summary
`SerializationServer()`

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)`

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

Constructor Detail

### SerializationServer

    public SerializationServer()

Method Detail

### setupServer

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

  Throws:
    `java.lang.Exception`

### main

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

  Can pass transport and port to be used as parameters. Valid transports are 'rmi' and 'socket'.

  Parameters:
    `args` -

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.