design transfer data structure for netty