Exemple #1
0
        protected override void process()
        {
            EzyArray data = ticketsQueue.take();

            getLogger().debug("send: {0}", data);
            Object bytes = encodeData(data);

            writeBytes(bytes);
        }
Exemple #2
0
        public EzyPacket take()
        {
            EzyPacket packet = queue.take();

            return(packet);
        }