All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.restcomm.slee.resource.map.wrappers.MAPMessageWrapper Maven / Gradle / Ivy

There is a newer version: 8.0.0-139
Show newest version
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();
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy