com.foxinmy.weixin4j.socket
Class WeixinServerInitializer

java.lang.Object
  extended by io.netty.channel.ChannelHandlerAdapter
      extended by io.netty.channel.ChannelInboundHandlerAdapter
          extended by io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
              extended by com.foxinmy.weixin4j.socket.WeixinServerInitializer
All Implemented Interfaces:
io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler

public class WeixinServerInitializer
extends io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>

微信消息服务器初始化

Since:
JDK 1.6
Author:
jinyu(foxinmy@gmail.com)
See Also:

Nested Class Summary
 
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable
 
Constructor Summary
WeixinServerInitializer(Map<String,AesToken> aesTokenMap, WeixinMessageDispatcher messageDispatcher)
           
 
Method Summary
 void addAesToken(AesToken asetoken)
           
 
Methods inherited from class io.netty.channel.ChannelInitializer
channelRegistered, exceptionCaught, handlerAdded
 
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggered
 
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
handlerRemoved, isSharable
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface io.netty.channel.ChannelHandler
handlerRemoved
 

Constructor Detail

WeixinServerInitializer

public WeixinServerInitializer(Map<String,AesToken> aesTokenMap,
                               WeixinMessageDispatcher messageDispatcher)
Method Detail

addAesToken

public void addAesToken(AesToken asetoken)


Copyright © 2014–2017. All rights reserved.