📄 bsauthevent.java
字号:
package edu.ou.kmi.buddyspace.core;
/*
* BSAuthEvent.java
*
* Project: BuddySpace
* (C) Copyright Knowledge Media Institute 2002
*
*
* Created on 16 July 2002, 11:49
*/
import java.util.EventObject;
//import org.jabber.jabberbeans.*;
/**
* <code>BSAuthEvent</code> contains information about event
* during authentication process. It contains new current state.
*
* @author Jiri Komzak, Knowledge Media Institute, Open University, United Kingdom
*/
public class BSAuthEvent extends EventObject {
protected BSAuthState state;
//protected PacketID id;
// * @deprecated - Use the <code>BSAuthEvent(Object source, int state, String id)</code> instead!
/**
* Constructor.
*/
BSAuthEvent(Object source, int state) {
super(source);
this.state = new BSAuthState();
this.state.value = state;
//id = new PacketID();
}
/**
* Constructor.
*/
/*BSAuthEvent(Object source, int state, String id) {
super(source);
this.state = new BSAuthState();
this.state.value = state;
this.id = new PacketID(id);
}*/
/**
* Returns <code>BSAuthState</code>.
*/
public BSAuthState getState() {
return state;
}
/**
* Returns id of the authentication packet.
*/
/*public String getID() {
return id.getID();
}*/
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -