Methods Summary |
---|
static void | checkRegistration(Connection connection, java.lang.String midlet, java.lang.String filter)Check the registration arguments.
// No implemented connections so far
throw new ConnectionNotFoundException();
|
public static java.lang.String | getFilter(java.lang.String connection)Gets a filter of connection.
For details see
javax.microedition.io.PushRegistry.getFilter
// As we cannot register connections for now...
return null;
|
public static java.lang.String | getMIDlet(java.lang.String connection)Gets a MIDlet class name of connection.
For details see
javax.microedition.io.PushRegistry.getMIDlet
// As we cannot register connections for now...
return null;
|
public static java.lang.String[] | listConnections(com.sun.midp.midlet.MIDletSuite midletSuite, boolean available)Lists all connections.
For details see
javax.microedition.io.PushRegistry.listConnections
// No connections so far
return new String [0];
|
public static long | registerAlarm(com.sun.midp.midlet.MIDletSuite midletSuite, java.lang.String midlet, long time)Registers time alaram.
For details see
javax.microedition.io.PushRegistry.registerAlarm
// As we cannot register connections for now...
throw new ConnectionNotFoundException();
|
public static void | registerConnection(com.sun.midp.midlet.MIDletSuite midletSuite, Connection connection, java.lang.String midlet, java.lang.String filter)Registers a connection.
For details see
javax.microedition.io.PushRegistry.registerConnection
/*
* Should never get here currently as <code>checkRegistration</code>
* should abort registration earlier
*/
|
public static boolean | unregisterConnection(com.sun.midp.midlet.MIDletSuite midletSuite, java.lang.String connection)Unregisters a connection.
For details see
javax.microedition.io.PushRegistry.unregisterConnection
// As we cannot register connections, we cannot unregister them as well
return false;
|