/** * @see #newWave(String, Set, String) * * @param msg the message that will be passed back to the robot when * WAVELET_CREATED event is fired as a result of this operation. */ public Wavelet newWave(String domain, Set<String> participants, String msg, String proxyForId) { return waveService.newWave(domain, participants, msg, proxyForId); }
/** * @see #newWave(String, Set) * * @param proxyForId the proxy id that should be used to create the new wave. * If specified, the creator of the wave would be * robotid+<proxyForId>@appspot.com. Please note that this parameter * should be properly encoded to ensure that the resulting participant id * is valid (see {@link Util#checkIsValidProxyForId(String)} for more * details). */ public Wavelet newWave(String domain, Set<String> participants, String proxyForId) { return waveService.newWave(domain, participants, proxyForId); }
/** * @see #newWave(String, Set) * * @param proxyForId the proxy id that should be used to create the new wave. * If specified, the creator of the wave would be * robotid+<proxyForId>@appspot.com. Please note that this parameter * should be properly encoded to ensure that the resulting participant * id is valid (see {@link Util#checkIsValidProxyForId(String)} for * more details). */ public Wavelet newWave(String domain, Set<String> participants, String proxyForId) { return newWave(domain, participants, "", proxyForId); }
/** * @see #newWave(String, Set, String, String) * * @param rpcServerUrl if specified, this operation will be submitted * immediately to this active gateway, that will return immediately the * actual wave id, the id of the root wavelet, and id of the root blip. * * @throws IOException if there is a problem submitting the operation to the * server, when {@code submit} is {@code true}. * @throws InvalidIdException */ public Wavelet newWave(String domain, Set<String> participants, String msg, String proxyForId, String rpcServerUrl) throws IOException, InvalidIdException { return waveService.newWave(domain, participants, msg, proxyForId, rpcServerUrl); }
/** * Creates a new wave with a list of participants on it. * * The root wavelet of the new wave is returned with its own * {@link OperationQueue}. It is the responsibility of the caller to make sure * this wavelet gets submitted to the server, either by calling * {@link AbstractRobot#submit(Wavelet, String)} or by calling * {@link Wavelet#submitWith(Wavelet)} on the new wavelet. * * @param domain the domain to create the wavelet on. In general, this should * correspond to the domain of the incoming event wavelet, except when * the robot is calling this method outside of an event or when the server * is handling multiple domains. * @param participants the initial participants on the wave. The robot, as the * creator of the wave, will be added by default. The order of the * participants will be preserved. */ public Wavelet newWave(String domain, Set<String> participants) { return waveService.newWave(domain, participants); }
/** * Creates a new wave with a list of participants on it. * * The root wavelet of the new wave is returned with its own * {@link OperationQueue}. It is the responsibility of the caller to make sure * this wavelet gets submitted to the server, either by calling * {@link AbstractRobot#submit(Wavelet, String)} or by calling * {@link Wavelet#submitWith(Wavelet)} on the new wavelet. * * @param domain the domain to create the wavelet on. In general, this should * correspond to the domain of the incoming event wavelet, except when * the robot is calling this method outside of an event or when the * server is handling multiple domains. * @param participants the initial participants on the wave. The robot, as the * creator of the wave, will be added by default. The order of the * participants will be preserved. */ public Wavelet newWave(String domain, Set<String> participants) { return newWave(domain, participants, null); }