net.sf.asterisk.fastagi.impl
Class AGIReaderImpl

java.lang.Object
  extended by net.sf.asterisk.fastagi.impl.AGIReaderImpl
All Implemented Interfaces:
AGIReader

public class AGIReaderImpl
extends java.lang.Object
implements AGIReader

Default implementation of the AGIReader implementation.

Version:
$Id: AGIReaderImpl.java,v 1.3 2005/09/27 21:07:26 srt Exp $
Author:
srt

Constructor Summary
AGIReaderImpl(SocketConnectionFacade socket)
           
 
Method Summary
 AGIReply readReply()
          Reads one reply to an AGICommand from Asterisk.
 AGIRequest readRequest()
          Reads the initial request data from Asterisk.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AGIReaderImpl

public AGIReaderImpl(SocketConnectionFacade socket)
Method Detail

readRequest

public AGIRequest readRequest()
                       throws AGIException
Description copied from interface: AGIReader
Reads the initial request data from Asterisk.

Specified by:
readRequest in interface AGIReader
Returns:
the request read.
Throws:
AGIException - if the request can't be read.

readReply

public AGIReply readReply()
                   throws AGIException
Description copied from interface: AGIReader
Reads one reply to an AGICommand from Asterisk.

Specified by:
readReply in interface AGIReader
Returns:
the reply read.
Throws:
AGIException - if the reply can't be read.


Copyright © 2004-2005 Stefan Reuter. All Rights Reserved.