Update of /cvsroot/asterisk-java/asterisk-java/src/java/net/sf/asterisk/fastagi/reply
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3831/src/java/net/sf/asterisk/fastagi/reply
Added Files:
AGIReply.java
Log Message:
Added interfaces for the major AGI concepts
--- NEW FILE: AGIReply.java ---
/*
* Copyright 2004-2005 Stefan Reuter
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
package net.sf.asterisk.fastagi.reply;
import java.io.Serializable;
/**
* Response to an AGICommand.
*
* @see net.sf.asterisk.fastagi.command.AGICommand
*
* @author srt
* @version $Id: AGIReply.java,v 1.1 2005/03/08 02:25:35 srt Exp $
*/
public class AGIReply implements Serializable
{
/**
* Serial version identifier.
*/
private static final long serialVersionUID = 3256727294671337012L;
int returnCode;
/**
* Returns the return code.
*
* @return the return code.
*/
public int getReturnCode()
{
return returnCode;
}
/**
* Sets the return code.
*
* @param returnCode the return code to set.
*/
public void setReturnCode(int returnCode)
{
this.returnCode = returnCode;
}
}
|