net.sf.asterisk.fastagi.impl
Class AGIWriterImpl

java.lang.Object
  extended by net.sf.asterisk.fastagi.impl.AGIWriterImpl
All Implemented Interfaces:
AGIWriter

public class AGIWriterImpl
extends java.lang.Object
implements AGIWriter

Default implementation of the AGIWriter interface.

Version:
$Id: AGIWriterImpl.java,v 1.1 2005/03/11 15:20:50 srt Exp $
Author:
srt

Constructor Summary
AGIWriterImpl(SocketConnectionFacade socket)
           
 
Method Summary
 void sendCommand(AGICommand command)
          Sends the given command to the Asterisk server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AGIWriterImpl

public AGIWriterImpl(SocketConnectionFacade socket)
Method Detail

sendCommand

public void sendCommand(AGICommand command)
                 throws AGIException
Description copied from interface: AGIWriter
Sends the given command to the Asterisk server.

Specified by:
sendCommand in interface AGIWriter
Parameters:
command - the command to send.
Throws:
AGIException - if the command can't be sent.


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