Shuyi Chen | d7955ce | 2013-05-22 14:51:55 -0700 | [diff] [blame] | 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 |
|
| 20 | package org.jivesoftware.smackx.workgroup;
|
| 21 |
|
| 22 | /**
|
| 23 | * An interface which all classes interested in hearing about group chat invitations should
|
| 24 | * implement.
|
| 25 | *
|
| 26 | * @author loki der quaeler
|
| 27 | */
|
| 28 | public interface WorkgroupInvitationListener {
|
| 29 |
|
| 30 | /**
|
| 31 | * The implementing class instance will be notified via this method when an invitation
|
| 32 | * to join a group chat has been received from the server.
|
| 33 | *
|
| 34 | * @param invitation an Invitation instance embodying the information pertaining to the
|
| 35 | * invitation
|
| 36 | */
|
| 37 | public void invitationReceived(WorkgroupInvitation invitation);
|
| 38 |
|
| 39 | }
|