com.antiaction.mayhem.httpd
Class RequestConnectionObject

java.lang.Object
  extended by com.antiaction.mayhem.httpd.RequestConnectionObject
All Implemented Interfaces:
IPoolObject, java.lang.Cloneable

public class RequestConnectionObject
extends java.lang.Object
implements IPoolObject

Network connection information container.

Version:
1.00
Author:
Nicholas Clarke

Field Summary
 boolean isSecure
          isSecure (fx.
 java.net.InetAddress localIAddr
          Local IAddr.
 java.lang.String localIP
          Local IP.
 int localPort
          Local Port.
 java.net.InetAddress remoteIAddr
          Remote IAddr.
 java.lang.String remoteIP
          Remote IP.
 int remotePort
          Remote Port.
 java.net.Socket remoteSocket
          Remote Socket obtained from Broker.
 BufferedServletInputStream socketIn
          Managed inputstream.
 java.io.InputStream socketInStream
          Raw socket inputstream.
 ServletOutputStreamImpl socketOut
          Managed outputstream.
 java.io.OutputStream socketOutStream
          Raw socket outputstream.
 
Constructor Summary
RequestConnectionObject()
           
 
Method Summary
 void checkIn()
           
 java.lang.Object clone()
           
 void close()
          Close all streams and sockets.
 void open()
           
 void recycle()
           
 void setObjectPool(IObjectPool objectPool)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

remoteSocket

public java.net.Socket remoteSocket
Remote Socket obtained from Broker.


isSecure

public boolean isSecure
isSecure (fx. using SSL).


socketInStream

public java.io.InputStream socketInStream
Raw socket inputstream.


socketOutStream

public java.io.OutputStream socketOutStream
Raw socket outputstream.


socketIn

public BufferedServletInputStream socketIn
Managed inputstream.


socketOut

public ServletOutputStreamImpl socketOut
Managed outputstream.


localIAddr

public java.net.InetAddress localIAddr
Local IAddr.


localPort

public int localPort
Local Port.


localIP

public java.lang.String localIP
Local IP.


remoteIAddr

public java.net.InetAddress remoteIAddr
Remote IAddr.


remotePort

public int remotePort
Remote Port.


remoteIP

public java.lang.String remoteIP
Remote IP.

Constructor Detail

RequestConnectionObject

public RequestConnectionObject()
Method Detail

clone

public java.lang.Object clone()
Specified by:
clone in interface IPoolObject
Overrides:
clone in class java.lang.Object

recycle

public void recycle()

open

public void open()

close

public void close()
Close all streams and sockets.


setObjectPool

public void setObjectPool(IObjectPool objectPool)
Specified by:
setObjectPool in interface IPoolObject

checkIn

public void checkIn()
Specified by:
checkIn in interface IPoolObject


Copyright © 2001-2004 Nicholas Clarke. All Rights Reserved.