本文整理汇总了Java中net.java.otr4j.OtrEngineHost类的典型用法代码示例。如果您正苦于以下问题:Java OtrEngineHost类的具体用法?Java OtrEngineHost怎么用?Java OtrEngineHost使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
OtrEngineHost类属于net.java.otr4j包,在下文中一共展示了OtrEngineHost类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: SessionImpl
import net.java.otr4j.OtrEngineHost; //导入依赖的package包/类
public SessionImpl(SessionID sessionID, OtrEngineHost listener) {
this.setSessionID(sessionID);
this.setHost(listener);
// client application calls OtrEngine.getSessionStatus()
// -> create new session if it does not exist, end up here
// -> setSessionStatus() fires statusChangedEvent
// -> client application calls OtrEngine.getSessionStatus()
this.sessionStatus = SessionStatus.PLAINTEXT;
assembler = new OtrAssembler();
}
示例2: SessionImpl
import net.java.otr4j.OtrEngineHost; //导入依赖的package包/类
public SessionImpl(SessionID sessionID, OtrEngineHost listener) {
this.setSessionID(sessionID);
this.setHost(listener);
// client application calls OtrEngine.getSessionStatus()
// -> create new session if it does not exist, end up here
// -> setSessionStatus() fires statusChangedEvent
// -> client application calls OtrEngine.getSessionStatus()
this.sessionStatus = SessionStatus.PLAINTEXT;
}
示例3: SessionImpl
import net.java.otr4j.OtrEngineHost; //导入依赖的package包/类
public SessionImpl(SessionID sessionID, OtrEngineHost listener) {
this.setSessionID(sessionID);
this.setHost(listener);
// client application calls OtrEngine.getSessionStatus()
// -> create new session if it does not exist, end up here
// -> setSessionStatus() fires statusChangedEvent
// -> client application calls OtrEngine.getSessionStatus()
this.sessionStatus = SessionStatus.PLAINTEXT;
}
示例4: setHost
import net.java.otr4j.OtrEngineHost; //导入依赖的package包/类
private void setHost(OtrEngineHost host) {
this.host = host;
}
示例5: getHost
import net.java.otr4j.OtrEngineHost; //导入依赖的package包/类
private OtrEngineHost getHost() {
return host;
}
示例6: setHost
import net.java.otr4j.OtrEngineHost; //导入依赖的package包/类
private void setHost(OtrEngineHost host) {
this.host = host;
}
示例7: getHost
import net.java.otr4j.OtrEngineHost; //导入依赖的package包/类
private OtrEngineHost getHost() {
return host;
}