com.partnersoft.net
Class TcpSocketMultiplexer
java.lang.Object
com.partnersoft.net.TcpSocketMultiplexer
- All Implemented Interfaces:
- Daemon
public class TcpSocketMultiplexer
- extends java.lang.Object
- implements Daemon
A TCP socket proxy that multiplexes all connections into a single TCP
connection to a TcpSocketDemultiplexer.
Copyright 2009 Partner Software, Inc.
- Version:
- $Id: TcpSocketDaemon.java 1327 2008-05-07 19:55:22Z paul $
- Author:
- Paul Reavis
|
Method Summary |
void |
runImp()
|
void |
start()
Start the daemon. |
void |
stop()
Stop the daemon. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TcpSocketMultiplexer
public TcpSocketMultiplexer(java.lang.String name,
int portNumber,
java.lang.String demuxAddress,
int demuxPortNumber)
TcpSocketMultiplexer
public TcpSocketMultiplexer(NetworkService service,
java.lang.String demuxAddress,
int demuxPortNumber)
start
public void start()
throws java.lang.Exception
- Start the daemon.
- Specified by:
start in interface Daemon
- Throws:
java.lang.Exception
stop
public void stop()
throws java.lang.Exception
- Stop the daemon.
- Specified by:
stop in interface Daemon
- Throws:
java.lang.Exception
runImp
public void runImp()
throws java.lang.Exception
- Throws:
java.lang.Exception