| java.lang.Object com.sun.midp.io.j2me.push.ProtocolPush com.sun.midp.jsr82.ProtocolPushImpl
ProtocolPushImpl | public class ProtocolPushImpl extends ProtocolPush (Code) | | Implementation of push behaviour.
|
checkRegistration | public void checkRegistration(String connection, String midlet, String filter)(Code) | | Called when registration is checked.
Parameters: connection - generic connection protocol, hostand port number(optional parameters may be includedseparated with semi-colons (;)) Parameters: midlet - class name of the MIDlet to be launched,when new external data is available Parameters: filter - a connection URL string indicating which sendersare allowed to cause the MIDlet to be launched exception: IllegalArgumentException - if the connection string is notvalid exception: ClassNotFoundException - if the MIDlet classname can not be found in the currentMIDlet suite |
getInstance | protected ProtocolPush getInstance()(Code) | | Get instance of this class.
class instance |
registerConnection | public void registerConnection(MIDletSuite midletSuite, String connection, String midlet, String filter) throws IllegalArgumentException, IOException, ClassNotFoundException(Code) | | Called when registration is established.
Parameters: midletSuite - MIDlet suite for the suite registering,the suite only has to implement isRegistered,checkForPermission, and getID. Parameters: connection - generic connection protocol, hostand port number(optional parameters may be includedseparated with semi-colons (;)) Parameters: midlet - class name of the MIDlet to be launched,when new external data is available Parameters: filter - a connection URL string indicating which sendersare allowed to cause the MIDlet to be launched exception: IllegalArgumentException - if the connection string is notvalid exception: IOException - if the connection is alreadyregistered or if there are insufficient resourcesto handle the registration request exception: ClassNotFoundException - if the MIDlet classname can not be found in the currentMIDlet suite |
Fields inherited from com.sun.midp.io.j2me.push.ProtocolPush | final protected static int IP4_DELIMITER_COUNT(Code)(Java Doc)
|
Methods inherited from com.sun.midp.io.j2me.push.ProtocolPush | protected void checkIIPFilter(String filter) throws IllegalArgumentException(Code)(Java Doc) protected void checkIsNotHost(String connection, boolean checkPort) throws IllegalArgumentException, ConnectionNotFoundException(Code)(Java Doc) abstract public void checkRegistration(String connection, String midlet, String filter)(Code)(Java Doc) abstract protected ProtocolPush getInstance()(Code)(Java Doc) public static ProtocolPush getInstance(String connection) throws IllegalArgumentException, ConnectionNotFoundException(Code)(Java Doc) abstract public void registerConnection(MIDletSuite midletSuite, String connection, String midlet, String filter) throws IllegalArgumentException, IOException, ClassNotFoundException(Code)(Java Doc)
|
|
|