@Override protected final synchronized boolean writeData(ByteBuffer data){
  AionServerPacket packet=sendMsgQueue.pollFirst();
  if (packet == null) {
    return false;
  }
  packet.setBuf(data);
  packet.write(this);
  return true;
}

@ Override protected final synchronized boolean writeData ( ByteBuffer data ) { AionServerPacket packet = sendMsgQueue . pollFirst ( ) ; if ( packet == null ) { return false ; } packet . setBuf ( data ) ; packet . write ( this ) ; return true ; }
this method will be called by dispatcher , and will be repeated till return false .
