1 /** 2 * $Revision$ 3 * $Date$ 4 * 5 * Copyright 2003-2007 Jive Software. 6 * 7 * All rights reserved. Licensed under the Apache License, Version 2.0 (the "License"); 8 * you may not use this file except in compliance with the License. 9 * You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, software 14 * distributed under the License is distributed on an "AS IS" BASIS, 15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 * See the License for the specific language governing permissions and 17 * limitations under the License. 18 */ 19 package org.jivesoftware.smackx.workgroup.agent; 20 21 public interface OfferConfirmationListener { 22 23 24 /** 25 * The implementing class instance will be notified via this when the AgentSession has confirmed 26 * the acceptance of the <code>Offer</code>. The instance will then have the ability to create the room and 27 * send the service the room name created for tracking. 28 * 29 * @param confirmedOffer the ConfirmedOffer 30 */ 31 void offerConfirmed(OfferConfirmation confirmedOffer); 32 } 33