com.sun.squawk.io.j2me.radio
Class Protocol
java.lang.Object
com.sun.squawk.io.ConnectionBase
com.sun.squawk.io.j2me.radio.Protocol
- All Implemented Interfaces:
- Connection
Deprecated.
public class Protocol
- extends ConnectionBase
This class is the stub of the old "radio" protocol, now replaced
by radiostream.
Constructor Summary |
Protocol()
Deprecated. |
Method Summary |
Connection |
open(String protocolName,
String name,
int mode,
boolean timeouts)
Deprecated. Open a connection to a target. |
Protocol
public Protocol()
- Deprecated.
open
public Connection open(String protocolName,
String name,
int mode,
boolean timeouts)
- Deprecated.
- Description copied from class:
ConnectionBase
- Open a connection to a target.
- Specified by:
open
in class ConnectionBase
- Parameters:
protocolName
- The URL protocolname
- The URL for the connectionmode
- The access modetimeouts
- A flag to indicate that the caller
wants timeout exceptions
- Returns:
- A new Connection object
Copyright © 2006, 2007 Sun Microsystems, Inc. All Rights Reserved.