Changeset 416

Show
Ignore:
Timestamp:
07/16/07 13:37:45 (1 year ago)
Author:
blackhedd
Message:

dev

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • experiments/jruby-1/src/com/rubyeventmachine/EventableChannel.java

    r415 r416  
    2020        String myBinding; 
    2121        Selector mySelector; 
    22         LinkedList OutboundQ; 
     22        LinkedList<ByteBuffer> OutboundQ; 
    2323        boolean bCloseScheduled; 
    2424         
     
    2828                mySelector = sel; 
    2929                bCloseScheduled = false; 
    30                 OutboundQ = new LinkedList(); 
     30                OutboundQ = new LinkedList<ByteBuffer>(); 
    3131                 
    3232                sc.register(mySelector, SelectionKey.OP_READ, this); 
     
    5151        public boolean writeOutboundData() throws ClosedChannelException { 
    5252                while (!OutboundQ.isEmpty()) { 
    53                         ByteBuffer b = (ByteBuffer) OutboundQ.getFirst(); 
     53                        ByteBuffer b = OutboundQ.getFirst(); 
    5454                        try { 
    5555                                myChannel.write(b);