本文整理汇总了Java中org.projectfloodlight.openflow.protocol.OFGetConfigReply.getMissSendLen方法的典型用法代码示例。如果您正苦于以下问题:Java OFGetConfigReply.getMissSendLen方法的具体用法?Java OFGetConfigReply.getMissSendLen怎么用?Java OFGetConfigReply.getMissSendLen使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.projectfloodlight.openflow.protocol.OFGetConfigReply
的用法示例。
在下文中一共展示了OFGetConfigReply.getMissSendLen方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: processOFGetConfigReply
import org.projectfloodlight.openflow.protocol.OFGetConfigReply; //导入方法依赖的package包/类
@Override
void processOFGetConfigReply(OFChannelHandler h, OFGetConfigReply m)
throws IOException {
if (m.getMissSendLen() == 0xffff) {
log.trace("Config Reply from switch {} confirms "
+ "miss length set to 0xffff",
h.getSwitchInfoString());
} else {
// FIXME: we can't really deal with switches that don't send
// full packets. Shouldn't we drop the connection here?
log.warn("Config Reply from switch {} has"
+ "miss length set to {}",
h.getSwitchInfoString(),
m.getMissSendLen());
}
h.sendHandshakeDescriptionStatsRequest();
h.setState(WAIT_DESCRIPTION_STAT_REPLY);
}
示例2: processOFGetConfigReply
import org.projectfloodlight.openflow.protocol.OFGetConfigReply; //导入方法依赖的package包/类
@Override
void processOFGetConfigReply(OFGetConfigReply m) {
if (m.getMissSendLen() == 0xffff) {
log.trace("Config Reply from switch {} confirms "
+ "miss length set to 0xffff",
getSwitchInfoString());
} else {
// FIXME: we can't really deal with switches that don't send
// full packets. Shouldn't we drop the connection here?
// FIXME: count??
log.warn("Config Reply from switch {} has"
+ "miss length set to {}",
getSwitchInfoString(),
m.getMissSendLen());
}
setState(new WaitDescriptionStatReplyState());
}
示例3: processOFGetConfigReply
import org.projectfloodlight.openflow.protocol.OFGetConfigReply; //导入方法依赖的package包/类
@Override
void processOFGetConfigReply(OFChannelHandler h, OFGetConfigReply m)
throws IOException {
if (m.getMissSendLen() == 0xffff) {
log.trace("Config Reply from switch {} confirms "
+ "miss length set to 0xffff",
h.getSwitchInfoString());
} else {
// FIXME: we can't really deal with switches that don't send
// full packets. Shouldn't we drop the connection here?
log.warn("Config Reply from switch {} has "
+ "miss length set to {}",
h.getSwitchInfoString(),
m.getMissSendLen());
}
nextState(h);
}
示例4: processOFGetConfigReply
import org.projectfloodlight.openflow.protocol.OFGetConfigReply; //导入方法依赖的package包/类
@Override
@LogMessageDocs({
@LogMessageDoc(level="WARN",
message="Config Reply from {switch} has " +
"miss length set to {length}",
explanation="The controller requires that the switch " +
"use a miss length of 0xffff for correct " +
"function",
recommendation="Use a different switch to ensure " +
"correct function")
})
void processOFGetConfigReply(OFGetConfigReply m) {
if (m.getMissSendLen() == 0xffff) {
log.trace("Config Reply from switch {} confirms "
+ "miss length set to 0xffff",
getSwitchInfoString());
} else {
// FIXME: we can't really deal with switches that don't send
// full packets. Shouldn't we drop the connection here?
// FIXME: count??
log.warn("Config Reply from switch {} has"
+ "miss length set to {}",
getSwitchInfoString(),
m.getMissSendLen());
}
setState(new WaitDescriptionStatReplyState());
}
示例5: processOFGetConfigReply
import org.projectfloodlight.openflow.protocol.OFGetConfigReply; //导入方法依赖的package包/类
@Override
@LogMessageDocs({
@LogMessageDoc(level = "WARN",
message = "Config Reply from {switch} has " +
"miss length set to {length}",
explanation = "The controller requires that the switch " +
"use a miss length of 0xffff for correct " +
"function",
recommendation = "Use a different switch to ensure " +
"correct function")
})
void processOFGetConfigReply(OFChannelHandler h, OFGetConfigReply m)
throws IOException {
if (m.getMissSendLen() == 0xffff) {
log.trace("Config Reply from switch {} confirms "
+ "miss length set to 0xffff",
h.getSwitchInfoString());
} else {
// FIXME: we can't really deal with switches that don't send
// full packets. Shouldn't we drop the connection here?
log.warn("Config Reply from switch {} has"
+ "miss length set to {}",
h.getSwitchInfoString(),
m.getMissSendLen());
}
h.sendHandshakeDescriptionStatsRequest();
h.setState(WAIT_DESCRIPTION_STAT_REPLY);
}