| com.sun.midp.jump.push.executive.remote.MIDPContainerInterface
All known Subclasses: com.sun.midp.jump.push.executive.MIDPContainerInterfaceImpl,
MIDPContainerInterface | public interface MIDPContainerInterface extends Remote(Code) | | Remote interface for MIDP container.
|
listConnections | String[] listConnections(int midletSuiteId, boolean available) throws RemoteException(Code) | | Lists all the connections registered by the suite.
Close match to PushRegistry.listConnections
Parameters: midletSuiteId - MIDlet suite to list connections for Parameters: available - if true , list connections with availabledata connections throws: RemoteException - as requested by RMI spec. |
registerAlarm | long registerAlarm(int midletSuiteId, String midlet, long time) throws RemoteException, ConnectionNotFoundException(Code) | | Registers an alarm.
midletSuiteId and midlet should refer
to valid MIDlet .
Parameters: midletSuiteId - ID of MIDlet suite to registeran alarm for Parameters: midlet - MIDlet class name to register an alarm for(cannot be null ) Parameters: time - alarm time time of previous registered (but not fired) alarm or 0 throws: RemoteException - as requested by RMI spec. throws: ConnectionNotFoundException - if it's impossible to register alarm |
registerConnection | void registerConnection(int midletSuiteId, String midlet, JUMPReservationDescriptor reservationDescriptor) throws IOException, RemoteException(Code) | | Registers connection reservation.
midletSuiteId and midlet should refer
to valid MIDlet .
Parameters: midletSuiteId - ID of MIDlet suite to registerconnection for Parameters: midlet - MIDlet class name to reserve connection for(cannot be null ) Parameters: reservationDescriptor - reservation descriptor(cannot be null ) throws: IOException - if connection cannot be reserved for the app throws: RemoteException - as requested by RMI spec. |
unregisterConnection | boolean unregisterConnection(int midletSuiteId, String connectionName) throws SecurityException, RemoteException(Code) | | Unregisters connection.
Parameters: midletSuiteId - ID of MIDlet suite to unregisterconnection for Parameters: connectionName - connection to unregister(cannot be null ) true if the unregistration was successful,false otherwise. throws: SecurityException - if the connection was registered byanother MIDlet suite throws: RemoteException - as requested by RMI spec. |
|
|