Sun SPOT API
Green Release  


com.sun.squawk.vm
Class ChannelIO

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

public class ChannelIO
extends Object
implements java.io.Serializable

This class contains the host side of the Squawk channel architecture that is used to implement IO, graphics and events. A separate ChannelIO instance provides the IO system for each isolate.

See Also:
Serialized Form

Method Summary
static int execute(int context, int op, int channel, int i1, int i2, int i3, int i4, int i5, int i6, Object o1, Object o2)
          Executes an operation on a given channel.
static void main(String[] args)
          Entry point for the I/O server
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

execute

public static int execute(int context,
                          int op,
                          int channel,
                          int i1,
                          int i2,
                          int i3,
                          int i4,
                          int i5,
                          int i6,
                          Object o1,
                          Object o2)
Executes an operation on a given channel.

Parameters:
context - the identifier of the channel context.
op - the operation to perform
channel - the identifier of the channel to execute the operation on
i1 -
i2 -
i3 -
i4 -
i5 -
i6 -
o1 -
o2 -
Returns:
the result

main

public static void main(String[] args)
Entry point for the I/O server


Sun SPOT API
Green Release  


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