MailboxRegistration register(long leaseDuration) throws RemoteException, LeaseDeniedException
registermethod to register themselves with the service.
leaseDuration- the requested lease duration in milliseconds
leaseDurationis not positive or
RemoteException- if there is a communication failure between the client and the service.
LeaseDeniedException- if the mailbox service is unable or unwilling to grant this registration request.
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.