Joram 5.2.1

org.objectweb.joram.mom.proxies.tcp
Class TcpWriter

java.lang.Object
  extended by fr.dyade.aaa.util.Daemon
      extended by org.objectweb.joram.mom.proxies.tcp.TcpWriter
All Implemented Interfaces:
java.lang.Runnable

public class TcpWriter
extends fr.dyade.aaa.util.Daemon

The activity responsible for getting the replies from the user's proxy and writing them to the socket.


Field Summary
 
Fields inherited from class fr.dyade.aaa.util.Daemon
canStop, group, logmon, priority, running, thread
 
Constructor Summary
TcpWriter(IOControl ioctrl, AckedQueue replyQueue, TcpConnection tcpConnection)
          Creates a new writer.
 
Method Summary
protected  void close()
           
 void run()
           
protected  void shutdown()
           
 
Methods inherited from class fr.dyade.aaa.util.Daemon
finish, getName, interrupt, isCurrentThread, isRunning, setDaemon, setName, setPriority, setThreadGroup, start, stop, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TcpWriter

public TcpWriter(IOControl ioctrl,
                 AckedQueue replyQueue,
                 TcpConnection tcpConnection)
          throws java.io.IOException
Creates a new writer.

Parameters:
sock - the socket where to write
userConnection - the connection with the user's proxy
tcpConnection - the TCP connection
Throws:
java.io.IOException
Method Detail

run

public void run()

shutdown

protected void shutdown()
Specified by:
shutdown in class fr.dyade.aaa.util.Daemon

close

protected void close()
Specified by:
close in class fr.dyade.aaa.util.Daemon

Joram 5.2.1

Copyright © 2005 Scalagent - All rights reserved