net.jradius.server
Class TCPListenerRequest

java.lang.Object
  extended by net.jradius.server.ListenerRequest
      extended by net.jradius.server.TCPListenerRequest

public class TCPListenerRequest
extends ListenerRequest

Author:
David Bird

Field Summary
 
Fields inherited from class net.jradius.server.ListenerRequest
borrowedFromPool, event, listener
 
Constructor Summary
TCPListenerRequest()
           
TCPListenerRequest(Socket socket, InputStream bin, OutputStream bout, Listener listener, boolean getEvent, boolean keepAlive)
           
TCPListenerRequest(Socket socket, Listener listener, boolean getEvent, boolean keepAlive)
           
 
Method Summary
 void accept(Socket socket, InputStream bin, OutputStream bout, Listener listener, boolean getEvent, boolean keepAlive)
           
 void accept(Socket socket, Listener listener, boolean getEvent, boolean keepAlive)
           
 InputStream getInputStream()
           
 OutputStream getOutputStream()
           
 Map<String,String> getServerVariables()
           
 Socket getSocket()
           
 boolean isKeepAlive()
           
 
Methods inherited from class net.jradius.server.ListenerRequest
clear, getBorrowedFromPool, getByteBufferIn, getByteBufferOut, getEventFromListener, getListener, getListener, getRequestEvent, setBorrowedFromPool
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TCPListenerRequest

public TCPListenerRequest()

TCPListenerRequest

public TCPListenerRequest(Socket socket,
                          Listener listener,
                          boolean getEvent,
                          boolean keepAlive)
                   throws Exception
Throws:
Exception

TCPListenerRequest

public TCPListenerRequest(Socket socket,
                          InputStream bin,
                          OutputStream bout,
                          Listener listener,
                          boolean getEvent,
                          boolean keepAlive)
                   throws Exception
Throws:
Exception
Method Detail

accept

public void accept(Socket socket,
                   Listener listener,
                   boolean getEvent,
                   boolean keepAlive)
            throws Exception
Throws:
Exception

accept

public void accept(Socket socket,
                   InputStream bin,
                   OutputStream bout,
                   Listener listener,
                   boolean getEvent,
                   boolean keepAlive)
            throws Exception
Throws:
Exception

getInputStream

public InputStream getInputStream()
                           throws IOException
Specified by:
getInputStream in class ListenerRequest
Throws:
IOException

getOutputStream

public OutputStream getOutputStream()
                             throws IOException
Specified by:
getOutputStream in class ListenerRequest
Throws:
IOException

getServerVariables

public Map<String,String> getServerVariables()
Specified by:
getServerVariables in class ListenerRequest

getSocket

public Socket getSocket()

isKeepAlive

public boolean isKeepAlive()


Copyright © 2011 Coova Technologies, LLC, All Rights Reserved.