/**
* Start time:17:32:06 2009-04-02<br>
* Project: mobicents-isup-stack<br>
*
* @author <a href="mailto:baranowb@gmail.com"> Bartosz Baranowski
* </a>
*
*/
package org.mobicents.ss7.isup.impl.message.parameter;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import org.mobicents.ss7.isup.ParameterRangeInvalidException;
import org.mobicents.ss7.isup.message.parameter.SubsequentNumber;
/**
* Start time:17:32:06 2009-04-02<br>
* Project: mobicents-isup-stack<br>
*
* @author <a href="mailto:baranowb@gmail.com"> Bartosz Baranowski </a>
*/
public class SubsequentNumberImpl extends AbstractNAINumber implements SubsequentNumber {
public SubsequentNumberImpl() {
super();
// TODO Auto-generated constructor stub
}
public SubsequentNumberImpl(byte[] representation) throws ParameterRangeInvalidException {
super(representation);
// TODO Auto-generated constructor stub
}
public SubsequentNumberImpl(ByteArrayInputStream bis) throws ParameterRangeInvalidException {
super(bis);
// TODO Auto-generated constructor stub
}
public SubsequentNumberImpl(String address) {
super(0, address);
// TODO Auto-generated constructor stub
}
/*
* (non-Javadoc)
*
* @seeorg.mobicents.isup.parameters.AbstractNumber#decodeBody(java.io.
* ByteArrayInputStream)
*/
@Override
public int decodeBody(ByteArrayInputStream bis) throws IllegalArgumentException {
// NOTE: we leave this.
return 0;
}
/*
* (non-Javadoc)
*
* @seeorg.mobicents.isup.parameters.AbstractNumber#encodeBody(java.io.
* ByteArrayOutputStream)
*/
@Override
public int encodeBody(ByteArrayOutputStream bos) {
// NOTE: we leave this.
return 0;
}
public int getCode() {
return _PARAMETER_CODE;
}
}