Ignore:
Timestamp:
10/11/13 13:44:19 (11 years ago)
Author:
stoda
Message:

PoolThreadSupervisor? done

TODO: revise all threads

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/supervisor/src/main/java/omq/server/InvocationThread.java

    r100 r101  
    4040        private long lastExec;
    4141
    42         private RemoteThreadPool pool; // TODO posar això bé
     42        private RemoteThreadPool pool;
    4343
    4444        // Broker
     
    5252        private boolean killed = false;
    5353
    54         public InvocationThread(RemoteObject obj, Broker broker) throws Exception {
     54        public InvocationThread(RemoteObject obj) throws Exception {
    5555                this.obj = obj;
    5656                this.UID = obj.getRef();
    5757                this.env = obj.getEnv();
    58                 this.broker = broker;
     58                this.broker = obj.getBroker();
     59                this.pool = obj.getPool();
    5960                this.serializer = broker.getSerializer();
    6061                this.lastExec = 0;
     
    151152                                logger.error(e);
    152153                        } catch (Exception e) {
     154                                e.printStackTrace();
    153155                                logger.error(e);
    154156                        }
Note: See TracChangeset for help on using the changeset viewer.