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

org.mobicents.smsc.slee.resources.scheduler.SendPduStatus2 Maven / Gradle / Ivy

There is a newer version: 7.4.179
Show newest version
package org.mobicents.smsc.slee.resources.scheduler;

import com.cloudhopper.smpp.pdu.PduRequest;
import com.cloudhopper.smpp.pdu.PduResponse;

public class SendPduStatus2 {
    private final Throwable exception;
    private final PduRequest request;
    private final PduResponse response;
    private final String systemId;
    private final boolean isSuccess;

    public SendPduStatus2(Throwable exception, PduRequest request,
            PduResponse response, String systemId, boolean isSuccess) {
        this.exception = exception;
        this.request = request;
        this.response = response;
        this.systemId = systemId;
        this.isSuccess = isSuccess;
    }

    @Override
    public String toString() {
        return "SendPduStatus [exception=" + exception + ", request=" + request
                + ", response=" + response + ", systemId=" + systemId + ", isSuccess=" + isSuccess + "]";
    }

    public Throwable getException() {
        return exception;
    }

    public PduRequest getRequest() {
        return request;
    }

    public PduResponse getResponse() {
        return response;
    }

    public String getSystemId() {
        return systemId;
    }

    public boolean isSuccess() {
        return isSuccess;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy