Example usage for io.netty.buffer ByteBuf writeShort

List of usage examples for io.netty.buffer ByteBuf writeShort

Introduction

In this page you can find the example usage for io.netty.buffer ByteBuf writeShort.

Prototype

public abstract ByteBuf writeShort(int value);

Source Link

Document

Sets the specified 16-bit short integer at the current writerIndex and increases the writerIndex by 2 in this buffer.

Usage

From source file:com.ltln.modules.openflow.core.protocol.ver10.OFQueueOpFailedCodeSerializerVer10.java

public static void writeTo(ByteBuf bb, OFQueueOpFailedCode e) {
    bb.writeShort(toWireValue(e));
}

From source file:com.ltln.modules.openflow.core.protocol.ver10.OFStatsReplyFlagsSerializerVer10.java

public static void writeTo(ByteBuf bb, Set<OFStatsReplyFlags> set) {
    bb.writeShort(toWireValue(set));
}

From source file:com.ltln.modules.openflow.core.protocol.ver10.OFStatsRequestFlagsSerializerVer10.java

public static void writeTo(ByteBuf bb, Set<OFStatsRequestFlags> set) {
    bb.writeShort(toWireValue(set));
}

From source file:com.ltln.modules.openflow.core.protocol.ver10.OFStatsTypeSerializerVer10.java

public static void writeTo(ByteBuf bb, OFStatsType e) {
    bb.writeShort(toWireValue(e));
}

From source file:com.ltln.modules.openflow.core.protocol.ver11.OFBadInstructionCodeSerializerVer11.java

public static void writeTo(ByteBuf bb, OFBadInstructionCode e) {
    bb.writeShort(toWireValue(e));
}

From source file:com.ltln.modules.openflow.core.protocol.ver11.OFBadMatchCodeSerializerVer11.java

public static void writeTo(ByteBuf bb, OFBadMatchCode e) {
    bb.writeShort(toWireValue(e));
}

From source file:com.ltln.modules.openflow.core.protocol.ver11.OFGroupModCommandSerializerVer11.java

public static void writeTo(ByteBuf bb, OFGroupModCommand e) {
    bb.writeShort(toWireValue(e));
}

From source file:com.ltln.modules.openflow.core.protocol.ver11.OFGroupModFailedCodeSerializerVer11.java

public static void writeTo(ByteBuf bb, OFGroupModFailedCode e) {
    bb.writeShort(toWireValue(e));
}

From source file:com.ltln.modules.openflow.core.protocol.ver11.OFInstructionTypeSerializerVer11.java

public static void writeTo(ByteBuf bb, Set<OFInstructionType> set) {
    bb.writeShort(toWireValue(set));
}

From source file:com.ltln.modules.openflow.core.protocol.ver11.OFMatchTypeSerializerVer11.java

public static void writeTo(ByteBuf bb, OFMatchType e) {
    bb.writeShort(toWireValue(e));
}