Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: com/flexstor/common/services/RMIServiceBrokerI.java


1   /*
2    * RMIServiceBrokerI.java
3    *
4    * Copyright $Date: 2003/08/11 02:22:34 $ FLEXSTOR.net Inc.
5    *
6    * This work is licensed for use and distribution under license terms found at
7    * http://www.flexstor.org/license.html
8    *
9    */
10  
11  package com.flexstor.common.services;
12  
13  import java.rmi.Remote;
14  import java.rmi.RemoteException;
15  import java.util.Hashtable;
16  
17  /**
18   * ServiceBrokerI
19   * This interface extends from java.rmi.Remote.  
20   * It is implemented by the object which extends 
21   * java.rmi.UnicastObject so it can be Obtained through RMI
22   *
23   * All methods in a Remote object must throw RemoteException
24   **/
25  public interface RMIServiceBrokerI
26     extends Remote
27  {
28     public String ping() throws RemoteException;
29  
30     public Object addQItem(Object item) throws RemoteException;
31  
32     public Object addQItem(Object item, int id) throws RemoteException;
33  
34     public int getUniqueNo() throws RemoteException;
35  
36     public String getInstallPath() throws RemoteException;
37  
38     public Object invokeImmediately(Object obj) throws RemoteException;
39  
40     public Object invokeImmediately(Object item, Hashtable htExternalProps) throws RemoteException;
41  
42     public void invokeImmediateAsynchronously(Object item) throws RemoteException;
43  
44     public void invokeImmediateAsynchronously(Object item, Hashtable htExternalProps) throws RemoteException;
45  }