/** * Sends a message to all members and expects responses from members in dests (if non-null). * * @param dests A list of group members from which to expect responses (if the call is blocking). * @param msg The message to be sent * @param options A set of options that govern the call. See {@link * org.jgroups.blocks.RequestOptions} for details * @return RspList A list of Rsp elements * @throws Exception If the request cannot be sent * @since 2.9 */ public <T> RspList<T> castMessage( final Collection<Address> dests, Message msg, RequestOptions options) throws Exception { GroupRequest<T> req = cast(dests, msg, options, true); return req != null ? req.getResults() : new RspList(); }