001package co.codewizards.cloudstore.ls.core.invoke;
002
003import static co.codewizards.cloudstore.core.util.AssertUtil.*;
004import co.codewizards.cloudstore.ls.core.dto.AbstractInverseServiceResponse;
005
006public class InverseMethodInvocationResponse extends AbstractInverseServiceResponse {
007        private static final long serialVersionUID = 1L;
008
009        private final MethodInvocationResponse methodInvocationResponse;
010
011        public InverseMethodInvocationResponse(final InverseMethodInvocationRequest request, final MethodInvocationResponse methodInvocationResponse) {
012                super(request);
013                this.methodInvocationResponse = assertNotNull(methodInvocationResponse, "methodInvocationResponse");
014        }
015
016        public MethodInvocationResponse getMethodInvocationResponse() {
017                return methodInvocationResponse;
018        }
019}