public class ServiceInterface
extends java.lang.Object
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
HTTP_PORT |
static int |
UDP_TCP_PORT |
| 构造器和说明 |
|---|
ServiceInterface() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ServiceInterface |
fromByteBuf(io.netty.buffer.ByteBuf buf) |
static ServiceInterface[] |
listFromByteBuf(io.netty.buffer.ByteBuf buf) |
void |
toByteBuf(io.netty.buffer.ByteBuf buf) |
static void |
toByteBuf(ServiceInterface[] serviceInterfaces,
io.netty.buffer.ByteBuf byteBuf) |
public static final int UDP_TCP_PORT
public static int HTTP_PORT
public static ServiceInterface[] listFromByteBuf(io.netty.buffer.ByteBuf buf)
public static ServiceInterface fromByteBuf(io.netty.buffer.ByteBuf buf)
public static void toByteBuf(ServiceInterface[] serviceInterfaces, io.netty.buffer.ByteBuf byteBuf)
public void toByteBuf(io.netty.buffer.ByteBuf buf)