Class TicketLocker

  • All Implemented Interfaces:
    Locker

    public class TicketLocker
    extends Object
    implements Locker
    This class define a global locker using RMI messaging. TODO tune waiting times
    Since:
    1.1
    Author:
    Laurent Jourdren
    • Constructor Detail

      • TicketLocker

        public TicketLocker​(String lockerName,
                            int port)
        Public constructor.
        Parameters:
        lockerName - The name of the locker
        port - port to use
      • TicketLocker

        public TicketLocker​(String lockerName,
                            int port,
                            String description)
        Public constructor.
        Parameters:
        lockerName - The name of the locker
        port - port to use
        description - locker description