SunSPOT API V3.0


com.sun.squawk.io.j2me.radio
Class Protocol

java.lang.Object
  extended by com.sun.squawk.io.ConnectionBase
      extended by 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.
 
Methods inherited from class com.sun.squawk.io.ConnectionBase
close, openDataInputStream, openDataOutputStream, openInputStream, openOutputStream
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Protocol

public Protocol()
Deprecated. 
Method Detail

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 protocol
name - The URL for the connection
mode - The access mode
timeouts - A flag to indicate that the caller wants timeout exceptions
Returns:
A new Connection object

SunSPOT API V3.0


Copyright © 2006, 2007 Sun Microsystems, Inc. All Rights Reserved.