sPFShared/src/main/java/it/polimi/spf/shared/model/InvocationResponse.java
public static InvocationResponse result(String payload) {
		InvocationResponse resp = new InvocationResponse(RESULT);
		resp.resultPayload = payload;
		return resp;
	}
public static InvocationResponse result(String payload) {
		InvocationResponse resp = new InvocationResponse(RESULT);
		resp.resultPayload = payload;
		return resp;
	}
public static InvocationResponse result ( String payload ) { InvocationResponse resp = new InvocationResponse ( RESULT ) ; resp . resultPayload = payload ; return resp ; }
Creates a new {@link InvocationResponse} to hold the result of an
invocation.

@param result
- the result of the invocation, or null if the method returns
void.
@return the invocation request.
Creates a new { @link InvocationResponse } to hold the result of an invocation .