/*
* Copyright 1999 Sun Microsystems, Inc. All Rights Reserved.
*
* The contents of this file are subject to the Sun(TM) Community Source
* License, Jini(TM) Technology Core Platform, v. 1.0 (the "License");
* you may not use this file except in compliance with the License. You
* may obtain a copy of the License at http://www.sun.com/jini. Software
* distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
* License for the specific language governing rights and limitations
* under the License.
*
* The Original Code is Jini Technology Core Platform code, version 1.0.
* The Developer of the Original Code is Sun Microsystems, Inc. Portions
* created by Sun Microsystems, Inc. are Copyright (C) 1999 Sun
* Microsystems, Inc. All Rights Reserved.
*
* Contributor(s): Sun Microsystems, Inc.
*
* The contents of this file comply with the Jini Technology
* Core Platform Compatibility Kit Version 1.0
*
* Tester(s): Sun Microsystems, Inc.
*
* Test Platform(s): Java(TM) 2 SDK v1.2.2 Solaris(TM) Reference
* Implementation (Final) on Solaris 2.6
*
* Java 2 SDK v1.2.2 Microsoft Windows 95/98/NT
* Production Release (Final) on Microsoft Windows
* NT 4.0 SP4
*
* CopyrightVersion 1.1Alpha_JXP
*/
package net.jini.event;
import java.rmi.RemoteException;
/**
* The <code>EventMailbox</code> interface allows clients
* to specify and use a third party for the purpose of
* storing and retrieving events.
*
* @author Gary Holness
*/
public interface EventMailbox {
/**
* This method allows clients to request usage of
* the <code>EventMailbox</code> for a specified,
* but renewable period of time.
*
* @param lease the requested duration
*/
MailboxRegistration register(long lease) throws RemoteException;
}
|