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
|
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 |
SocketServerInvoker
public SocketServerInvoker(InvokerLocator locator)
throws IOException
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:
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.