org.restcomm.slee.resource.map.wrappers.MAPMessageWrapper Maven / Gradle / Ivy
package org.restcomm.slee.resource.map.wrappers;
import org.restcomm.protocols.ss7.map.api.MAPMessage;
import org.restcomm.protocols.ss7.map.api.MAPMessageType;
import org.restcomm.slee.resource.map.events.MAPEvent;
/**
*
* @author amit bhayani
*
*/
public abstract class MAPMessageWrapper extends MAPEvent implements MAPMessage {
public MAPMessageWrapper(MAPDialogWrapper mapDialogWrapper, String eventTypeName, T wrappedEvent) {
super(mapDialogWrapper, eventTypeName, wrappedEvent);
}
@Override
public long getInvokeId() {
return this.wrappedEvent.getInvokeId();
}
@Override
public MAPMessageType getMessageType() {
return this.wrappedEvent.getMessageType();
}
@Override
public int getOperationCode() {
return this.wrappedEvent.getOperationCode();
}
@Override
public void setInvokeId(long invokeId) {
this.wrappedEvent.setInvokeId(invokeId);
}
@Override
public boolean isReturnResultNotLast() {
return this.wrappedEvent.isReturnResultNotLast();
}
}