com.partnersoft.net
Class TcpSocketDemultiplexer

java.lang.Object
  extended by com.partnersoft.net.TcpSocketDemultiplexer
All Implemented Interfaces:
Daemon

public class TcpSocketDemultiplexer
extends java.lang.Object
implements Daemon

A TCP socket proxy that demultiplexes data from TcpSocketDemultiplexer and forwards it appropriately to multiple socket connections.

Copyright 2009 Partner Software, Inc.

Version:
$Id: TcpSocketDaemon.java 1327 2008-05-07 19:55:22Z paul $
Author:
Paul Reavis

Constructor Summary
TcpSocketDemultiplexer(java.lang.String muxAddress, int muxPortNumber, java.lang.String destinationAddress, int destinationPortNumber)
           
 
Method Summary
 void start()
          Start the daemon process.
 void stop()
          Stop the daemon.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TcpSocketDemultiplexer

public TcpSocketDemultiplexer(java.lang.String muxAddress,
                              int muxPortNumber,
                              java.lang.String destinationAddress,
                              int destinationPortNumber)
                       throws java.io.IOException
Throws:
java.io.IOException
Method Detail

start

public void start()
           throws java.lang.Exception
Description copied from interface: Daemon
Start the daemon process. Acquire needed resources and fire up any associated threads.

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