public DeliveryThread(TOMLayer tomLayer,ServiceReplica receiver,Recoverable recoverer,ServerViewController controller){
  super("Delivery Thread");
  this.decided=new LinkedBlockingQueue<>();
  this.tomLayer=tomLayer;
  this.receiver=receiver;
  this.recoverer=recoverer;
  this.controller=controller;
}

public DeliveryThread ( TOMLayer tomLayer , ServiceReplica receiver , Recoverable recoverer , ServerViewController controller ) { super ( "Delivery Thread" ) ; this . decided = new LinkedBlockingQueue < > ( ) ; this . tomLayer = tomLayer ; this . receiver = receiver ; this . recoverer = recoverer ; this . controller = controller ; }
creates a new instance of deliverythread
