本文整理汇总了Java中org.schwering.irc.lib.IRCModeParser类的典型用法代码示例。如果您正苦于以下问题:Java IRCModeParser类的具体用法?Java IRCModeParser怎么用?Java IRCModeParser使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IRCModeParser类属于org.schwering.irc.lib包,在下文中一共展示了IRCModeParser类的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: onMode
import org.schwering.irc.lib.IRCModeParser; //导入依赖的package包/类
@Override
public void onMode(String channel, IRCUser user, IRCModeParser modeParser) {
if (configuration.isOnMode()) {
Exchange exchange = endpoint.createOnModeExchange(channel, user, modeParser);
try {
getProcessor().process(exchange);
} catch (Exception e) {
handleException(e);
}
}
}
开发者ID:HydAu,项目名称:Camel,代码行数:12,代码来源:IrcConsumer.java
示例2: onMode
import org.schwering.irc.lib.IRCModeParser; //导入依赖的package包/类
@Override
public void onMode(String string, IRCUser ircUser, IRCModeParser ircModeParser) {
super.onMode(string, ircUser, ircModeParser);
LOG.info("onMode.string = " + string);
LOG.info("onMode.ircUser = " + ircUser);
LOG.info("onMode.ircModeParser = " + ircModeParser);
}
开发者ID:HydAu,项目名称:Camel,代码行数:8,代码来源:CodehausIrcChat.java
示例3: onMode
import org.schwering.irc.lib.IRCModeParser; //导入依赖的package包/类
/**
* @param chan
* @param user
* @param mp
* @return void
*/
public void onMode(String chan, IRCUser user, IRCModeParser mp) {
logger.debug("User {} changed {} channel mode.", user.getNick(), chan);
headers.put(IRCConstants.HEADER_TYPE, "mode");
headers.put(IRCConstants.HEADER_CHANNEL, chan);
headers.putAll(getUser(user));
headers.put(IRCConstants.HEADER_IRCMODEPARSER, mp.toString());
send("", headers);
}
开发者ID:Stratio,项目名称:ingestion,代码行数:15,代码来源:IRCSource.java
示例4: onMode
import org.schwering.irc.lib.IRCModeParser; //导入依赖的package包/类
public void onMode(String chan, IRCUser u, IRCModeParser mp) {
}
开发者ID:moueimei,项目名称:flume-release-1.7.0,代码行数:3,代码来源:IRCSink.java
示例5: onMode
import org.schwering.irc.lib.IRCModeParser; //导入依赖的package包/类
@Override
public void onMode(String chan, IRCUser user, IRCModeParser modeParser) {
LOG.debug("[{}]: mode '{}'.", chan, modeParser.getLine());
}
开发者ID:axbaretto,项目名称:flink,代码行数:5,代码来源:WikipediaEditEventIrcStream.java
示例6: createOnModeExchange
import org.schwering.irc.lib.IRCModeParser; //导入依赖的package包/类
public Exchange createOnModeExchange(String channel, IRCUser user, IRCModeParser modeParser) {
Exchange exchange = createExchange();
exchange.setIn(new IrcMessage("MODE", channel, user, modeParser.getLine()));
return exchange;
}
开发者ID:HydAu,项目名称:Camel,代码行数:6,代码来源:IrcEndpoint.java
示例7: onMode
import org.schwering.irc.lib.IRCModeParser; //导入依赖的package包/类
@Override
public void onMode(String chan, IRCUser user, IRCModeParser ircModeParser) {
log.info("Server: " + server + " - onMode chan=" + chan + " user=" + user + " ircModeParser=" + ircModeParser);
}
开发者ID:HydAu,项目名称:Camel,代码行数:5,代码来源:IrcLogger.java
示例8: onMode
import org.schwering.irc.lib.IRCModeParser; //导入依赖的package包/类
public void onMode(String chan, IRCUser u, IRCModeParser mp) {
log.info(chan + "> " + u.getNick() + " sets mode: " + mp.getLine());
}
开发者ID:yoloanalytics,项目名称:bigdata-swamp,代码行数:4,代码来源:WikipediaFeed.java
示例9: onMode
import org.schwering.irc.lib.IRCModeParser; //导入依赖的package包/类
@Override
public void onMode(String arg0, IRCUser arg1, IRCModeParser arg2) {
// TODO Auto-generated method stub
}
开发者ID:cherrymathew,项目名称:evend,代码行数:6,代码来源:ChatActivity.java
示例10: onMode
import org.schwering.irc.lib.IRCModeParser; //导入依赖的package包/类
@Override
public void onMode(String chan, IRCUser user, IRCModeParser modeParser) {
}
开发者ID:wildfly-extras,项目名称:wildfly-camel,代码行数:4,代码来源:IRCIntegrationTest.java
示例11: onMode
import org.schwering.irc.lib.IRCModeParser; //导入依赖的package包/类
@Override
public void onMode(String chan, IRCUser user, IRCModeParser modeParser) {
}
开发者ID:devnull-tools,项目名称:boteco,代码行数:5,代码来源:BotecoIrcEventListener.java
注:本文中的org.schwering.irc.lib.IRCModeParser类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论