📄 bsconfconsumer.java
字号:
package edu.ou.kmi.buddyspace.plugins.conference.core;
/*
* BSConfConsumer.java
*
* Project: BuddySpace
* (C) Copyright Knowledge Media Institute 2002
*
*
* Created on 13 May 2003, 15:35
*/
//import java.util.EventListener;
//import edu.ou.kmi.buddyspace.xml.*;
import org.jabber.jabberbeans.util.*;
import edu.ou.kmi.buddyspace.core.*;
/**
* <code>BSConfConsumer</code> is interface you can implement to get
* conference events notifications and return their consumption.
*
* @author Jiri Komzak, Knowledge Media Institute, Open University, United Kingdom
*/
public interface BSConfConsumer {//extends EventListener {
/** Called when message from room arrived */
public BSConsumationResult roomMessage(JID roomJID, String body);
/** Called when groupchat message arrived */
public BSConsumationResult groupMessage(JID fromAddress, String nick, String body);
/** Called when private message arrived */
public BSConsumationResult privateMessage(JID fromAddress, String nick, String body);
/** Called when invitation into a room arrived */
public BSConsumationResult invitation(JID fromAddress, JID roomJID, String subject, String body);
/** Called when presence of a nick in a room has changed */
public BSConsumationResult presenceChanged(JID fromAddress, String nick, BSPresenceInfo pi);
/** Called when state of room changed */
public BSConsumationResult stateChanged(JID roomJID, int state);
/** Called when an error occured */
public BSConsumationResult error(JID roomJID, String errCode, String errMsg);
/** Called when myJID is set */
public BSConsumationResult setMyJID(JID roomJID, JID myJID);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -