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.transport.socket
Class SocketServerInvoker

    java.lang.Object
      org.jboss.remoting.AbstractInvoker
          org.jboss.remoting.ServerInvoker
              org.jboss.remoting.transport.socket.SocketServerInvoker

All Implemented Interfaces:
  Invoker

public class SocketServerInvoker
extends ServerInvoker

SocketServerInvoker is the server-side of a SOCKET based transport

Version:
  $Revision: 1.6 $
Author:
  Jeff Haynie

Field Summary

Fields inherited from class org.jboss.remoting.ServerInvoker
`callbackHandlers, handlers, MAX_NUM_ONEWAY_THREADS`

Fields inherited from class org.jboss.remoting.AbstractInvoker
`classbyteloader, localServerLocator, locator, log, logExtra`

Constructor Summary
`SocketServerInvoker(InvokerLocator locator)`

Method Summary
`protected void` | `finalize()`
`InetAddress` | `getAddress()`
`int` | `getPort()`
`boolean` | `isTransportBiDirectional()` returns true if the transport is bi-directional in nature, for example, SOAP in unidirectional and SOCKETs are bi-directional (unless behind a firewall for example).
`protected void` | `setup()`
`void` | `start()` subclasses should override to provide any specific start logic
`void` | `stop()` subclasses should override to provide any specific stop logic

Methods inherited from class org.jboss.remoting.ServerInvoker
`addInvocationHandler, getInvocationHandler, getInvocationHandlers, getSupportedSubsystems, hasInvocationHandler, invoke, invoke, isStarted, postProcess, preProcess, removeInvocationHandler`

Methods inherited from class org.jboss.remoting.AbstractInvoker
`addClass, getClassBytes, getClientLocator, getLocator, loadClass, read, setClassLoader, setClientLocator, unmarshal`

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

Constructor Detail

### SocketServerInvoker

    public SocketServerInvoker(InvokerLocator locator)
                        throws IOException

Method Detail

### getAddress

    public InetAddress getAddress()

### getPort

    public int getPort()

### setup

    protected void setup()
                  throws Exception

  Throws:
    `Exception`

### finalize

    protected void finalize()
                     throws Throwable

  Throws:
    `Throwable`

### start

    public void start()
               throws IOException

  Description copied from class: `ServerInvoker`
  subclasses should override to provide any specific start logic

  Overrides:
    `start` in class `ServerInvoker`
  Throws:
    `IOException`

### stop

    public void stop()

  Description copied from class: `ServerInvoker`
  subclasses should override to provide any specific stop logic

  Overrides:
    `stop` in class `ServerInvoker`

### isTransportBiDirectional

    public boolean isTransportBiDirectional()

  returns true if the transport is bi-directional in nature, for example, SOAP in unidirectional and SOCKETs are bi-directional (unless behind a firewall for example).

  Specified by:
    `isTransportBiDirectional` in class `ServerInvoker`
  Returns:

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 © 2002 JBoss Group, LLC. All Rights Reserved.