Package | Description |
---|---|
net.minecraftforge.fml.common.network.simpleimpl |
Modifier and Type | Field and Description |
---|---|
private IMessageHandler<? super REQ,? extends REPLY> |
SimpleChannelHandlerWrapper.messageHandler |
Modifier and Type | Method and Description |
---|---|
(package private) static <REQ extends IMessage,REPLY extends IMessage> |
SimpleNetworkWrapper.instantiate(java.lang.Class<? extends IMessageHandler<? super REQ,? extends REPLY>> handler) |
Modifier and Type | Method and Description |
---|---|
private <REQ extends IMessage,REPLY extends IMessage,NH extends INetHandler> |
SimpleNetworkWrapper.addClientHandlerAfter(FMLEmbeddedChannel channel,
java.lang.String type,
IMessageHandler<? super REQ,? extends REPLY> messageHandler,
java.lang.Class<REQ> requestType) |
private <REQ extends IMessage,REPLY extends IMessage,NH extends INetHandler> |
SimpleNetworkWrapper.addServerHandlerAfter(FMLEmbeddedChannel channel,
java.lang.String type,
IMessageHandler<? super REQ,? extends REPLY> messageHandler,
java.lang.Class<REQ> requestType) |
private <REPLY extends IMessage,REQ extends IMessage> |
SimpleNetworkWrapper.getHandlerWrapper(IMessageHandler<? super REQ,? extends REPLY> messageHandler,
Side side,
java.lang.Class<REQ> requestType) |
<REQ extends IMessage,REPLY extends IMessage> |
SimpleNetworkWrapper.registerMessage(IMessageHandler<? super REQ,? extends REPLY> messageHandler,
java.lang.Class<REQ> requestMessageType,
int discriminator,
Side side)
Register a message and it's associated handler.
|
Modifier and Type | Method and Description |
---|---|
(package private) static <REQ extends IMessage,REPLY extends IMessage> |
SimpleNetworkWrapper.instantiate(java.lang.Class<? extends IMessageHandler<? super REQ,? extends REPLY>> handler) |
<REQ extends IMessage,REPLY extends IMessage> |
SimpleNetworkWrapper.registerMessage(java.lang.Class<? extends IMessageHandler<REQ,REPLY>> messageHandler,
java.lang.Class<REQ> requestMessageType,
int discriminator,
Side side)
Register a message and it's associated handler.
|
Constructor and Description |
---|
SimpleChannelHandlerWrapper(IMessageHandler<? super REQ,? extends REPLY> handler,
Side side,
java.lang.Class<REQ> requestType) |
Constructor and Description |
---|
SimpleChannelHandlerWrapper(java.lang.Class<? extends IMessageHandler<? super REQ,? extends REPLY>> handler,
Side side,
java.lang.Class<REQ> requestType) |