net.jradius.server
Class ListenerRequest

java.lang.Object
  extended by net.jradius.server.ListenerRequest
Direct Known Subclasses:
TCPListenerRequest

public abstract class ListenerRequest
extends Object

Author:
David Bird

Field Summary
protected  org.apache.commons.pool.ObjectPool borrowedFromPool
           
protected  JRadiusEvent event
           
protected  Listener listener
           
 
Constructor Summary
ListenerRequest()
           
ListenerRequest(Listener listener)
           
 
Method Summary
 void clear()
           
 org.apache.commons.pool.ObjectPool getBorrowedFromPool()
           
 ByteBuffer getByteBufferIn()
           
 ByteBuffer getByteBufferOut()
           
 JRadiusEvent getEventFromListener()
           
abstract  InputStream getInputStream()
           
 Listener getListener()
           
 void getListener(Listener listener)
           
abstract  OutputStream getOutputStream()
           
 JRadiusEvent getRequestEvent()
           
abstract  Map<String,String> getServerVariables()
           
 void setBorrowedFromPool(org.apache.commons.pool.ObjectPool borrowedFromPool)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

event

protected JRadiusEvent event

listener

protected Listener listener

borrowedFromPool

protected org.apache.commons.pool.ObjectPool borrowedFromPool
Constructor Detail

ListenerRequest

public ListenerRequest()

ListenerRequest

public ListenerRequest(Listener listener)
Method Detail

getByteBufferIn

public ByteBuffer getByteBufferIn()
                           throws IOException
Throws:
IOException

getByteBufferOut

public ByteBuffer getByteBufferOut()
                            throws IOException
Throws:
IOException

getInputStream

public abstract InputStream getInputStream()
                                    throws IOException
Throws:
IOException

getOutputStream

public abstract OutputStream getOutputStream()
                                      throws IOException
Throws:
IOException

getServerVariables

public abstract Map<String,String> getServerVariables()

getListener

public Listener getListener()

getListener

public void getListener(Listener listener)

getEventFromListener

public JRadiusEvent getEventFromListener()
                                  throws Exception
Throws:
Exception

getRequestEvent

public JRadiusEvent getRequestEvent()
                             throws Exception
Throws:
Exception

clear

public void clear()

getBorrowedFromPool

public org.apache.commons.pool.ObjectPool getBorrowedFromPool()

setBorrowedFromPool

public void setBorrowedFromPool(org.apache.commons.pool.ObjectPool borrowedFromPool)


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