org.asteriskjava.fastagi
Class DefaultAgiClient

java.lang.Object
  extended by org.asteriskjava.fastagi.DefaultAgiClient

public class DefaultAgiClient
extends Object


Constructor Summary
DefaultAgiClient()
           
DefaultAgiClient(String host, int port, AgiClientScript clientScript)
          Creates a new DefaultAgiServer.
 
Method Summary
protected  org.asteriskjava.util.SocketConnectionFacade createClientSocket()
           
 String removeParameter(String name)
           
 Future<?> run()
           
 void setCallerId(String callerId)
          AGI Request Paremters
 void setHost(String host)
           
 void setNetworkScript(String networkScript)
           
 void setParameter(String name, String value)
           
 void setPort(int port)
           
 void setScript(AgiClientScript script)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAgiClient

public DefaultAgiClient()

DefaultAgiClient

public DefaultAgiClient(String host,
                        int port,
                        AgiClientScript clientScript)
Creates a new DefaultAgiServer.

Method Detail

setHost

public void setHost(String host)

setPort

public void setPort(int port)

setScript

public void setScript(AgiClientScript script)

setCallerId

public void setCallerId(String callerId)
AGI Request Paremters


setNetworkScript

public void setNetworkScript(String networkScript)

setParameter

public void setParameter(String name,
                         String value)

removeParameter

public String removeParameter(String name)

createClientSocket

protected org.asteriskjava.util.SocketConnectionFacade createClientSocket()
                                                                   throws IOException
Throws:
IOException

run

public Future<?> run()
              throws IOException
Throws:
IOException


Copyright © 2011 OneBusAway. All Rights Reserved.