src/main/java/org/cloudi/API.java
public Response send_sync(final String name,
                              final byte[] request)
        throws InvalidInputException,
               MessageDecodingException,
               TerminateException
    {
        return send_sync(name, ("").getBytes(), request,
                         this.timeout_sync, this.priority_default);
    }
public Response send_sync(final String name,
                              final byte[] request)
        throws InvalidInputException,
               MessageDecodingException,
               TerminateException
    {
        return send_sync(name, ("").getBytes(), request,
                         this.timeout_sync, this.priority_default);
    }
Synchronous point-to-point communication to a service
subscribed that matches the destination service <code>name</code>.

@param name          the destination service name
@param request       the request data

@return              the response
@throws InvalidInputException invalid input to internal function call
@throws MessageDecodingException service messaging failure
@throws TerminateException service execution must terminate