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.ver13.OFBsnUdfAnchorSerializerVer13.java

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

From source file:com.ltln.modules.openflow.core.protocol.ver13.OFHelloElemTypeSerializerVer13.java

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

From source file:com.ltln.modules.openflow.core.protocol.ver13.OFIpv6ExthdrFlagsSerializerVer13.java

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

From source file:com.ltln.modules.openflow.core.protocol.ver13.OFMeterBandTypeSerializerVer13.java

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

From source file:com.ltln.modules.openflow.core.protocol.ver13.OFMeterFlagsSerializerVer13.java

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

From source file:com.ltln.modules.openflow.core.protocol.ver13.OFMeterModCommandSerializerVer13.java

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

From source file:com.ltln.modules.openflow.core.protocol.ver13.OFMeterModFailedCodeSerializerVer13.java

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

From source file:com.ltln.modules.openflow.core.protocol.ver13.OFTableFeaturePropTypeSerializerVer13.java

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

From source file:com.ltln.modules.openflow.core.protocol.ver13.OFTableFeaturesFailedCodeSerializerVer13.java

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

From source file:com.ltln.modules.openflow.core.protocol.ver14.OFAsyncConfigFailedCodeSerializerVer14.java

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