net.sf.asterisk.fastagi
Interface AGIReader

All Known Implementing Classes:
AGIReaderImpl

public interface AGIReader

The AGIReader reads the replies from the network and parses them using a ReplyBuilder.

Version:
$Id: AGIReader.java,v 1.5 2005/03/11 09:37:37 srt Exp $
Author:
srt

Method Summary
 AGIReply readReply()
          Reads one reply to an AGICommand from Asterisk.
 AGIRequest readRequest()
          Reads the initial request data from Asterisk.
 

Method Detail

readRequest

AGIRequest readRequest()
                       throws AGIException
Reads the initial request data from Asterisk.

Returns:
the request read.
Throws:
AGIException - if the request can't be read.

readReply

AGIReply readReply()
                   throws AGIException
Reads one reply to an AGICommand from Asterisk.

Returns:
the reply read.
Throws:
AGIException - if the reply can't be read.


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