Sun SPOT API
Green Release  


com.sun.squawk.vm
Class GenericConnectionChannel

java.lang.Object
  extended by com.sun.squawk.vm.Channel
      extended by com.sun.squawk.vm.GenericConnectionChannel
All Implemented Interfaces:
java.io.Serializable

public class GenericConnectionChannel
extends Channel

Channel for stream IO.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sun.squawk.vm.Channel
cio, result
 
Constructor Summary
GenericConnectionChannel(ChannelIO cio, int channelID)
          Constructor.
 
Method Summary
 void close()
          Closes this channel.
 
Methods inherited from class com.sun.squawk.vm.Channel
clearResult, getChannelID, getEventNumber, getResult
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericConnectionChannel

public GenericConnectionChannel(ChannelIO cio,
                                int channelID)
Constructor.

Parameters:
cio - the owner of this channel
channelID - the identifier of this channel
logging - specifies if the channel is to log its operations
Method Detail

close

public void close()
Closes this channel.

Specified by:
close in class Channel

Sun SPOT API
Green Release  


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