Home | History | Annotate | Download | only in agent

Lines Matching defs:online

61     private boolean online = false;

185 * Returns true if the agent is online with the workgroup.
187 * @return true if the agent is online with the workgroup.
190 return online;
242 * Sets whether the agent is online with the workgroup. If the user tries to go online with
246 * @param online true to set the agent as online with the workgroup.
247 * @throws XMPPException if an error occurs setting the online status.
249 public void setOnline(boolean online) throws XMPPException {
250 // If the online status hasn't changed, do nothing.
251 if (this.online == online) {
257 // If the user is going online...
258 if (online) {
279 this.online = online;
284 this.online = online;
315 * @throws IllegalStateException if the agent is not online with the workgroup.
341 * @throws IllegalStateException if the agent is not online with the workgroup.
345 if (!online) {
346 throw new IllegalStateException("Cannot set status when the agent is not online.");
398 * @throws IllegalStateException if the agent is not online with the workgroup.
401 if (!online) {
402 throw new IllegalStateException("Cannot set status when the agent is not online.");