📄 workgroupeventadapter.java
字号:
/**
* $RCSfile$
* $Revision: 19238 $
* $Date: 2005-07-07 09:53:37 -0700 (Thu, 07 Jul 2005) $
*
* Copyright (C) 1999-2008 Jive Software. All rights reserved.
*
* This software is published under the terms of the GNU Public License (GPL),
* a copy of which is included in this distribution, or a commercial license
* agreement with Jive.
*/
package org.jivesoftware.xmpp.workgroup.event;
import org.jivesoftware.xmpp.workgroup.AgentSession;
import org.jivesoftware.xmpp.workgroup.Workgroup;
/**
* An abstract adapter class for receiving workgroup events. The methods in this class
* are empty -- in other words, this class exists as a convenience for creating listener
* objects.<p>
*
* Workgroup Events let you track when a workgroup is destroyed, created, modified, or when a
* support chat has been created and ended.<p>
*
* Extend this class to create a listener and override the methods for the events of interest.
* Create a listener object using the extended class and then register it with
* a WorkgroupEventDispatcher using the
* {@link WorkgroupEventDispatcher#addListener(WorkgroupEventListener) addListener} method.
*
* @author Derek DeMoro
* @see WorkgroupEventListener
* @see WorkgroupEventDispatcher
*/
public abstract class WorkgroupEventAdapter implements WorkgroupEventListener {
public void workgroupCreated(Workgroup workgroup) {
}
public void workgroupDeleting(Workgroup workgroup) {
}
public void workgroupDeleted(Workgroup workgroup) {
}
public void workgroupOpened(Workgroup workgroup) {
}
public void workgroupClosed(Workgroup workgroup) {
}
public void agentJoined(Workgroup workgroup, AgentSession agentSession) {
}
public void agentDeparted(Workgroup workgroup, AgentSession agentSession) {
}
public void chatSupportStarted(Workgroup workgroup, String sessionID) {
}
public void chatSupportFinished(Workgroup workgroup, String sessionID) {
}
public void agentJoinedChatSupport(Workgroup workgroup, String sessionID, AgentSession agentSession) {
}
public void agentLeftChatSupport(Workgroup workgroup, String sessionID, AgentSession agentSession) {
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -