SunSPOT API V3.0


Package com.sun.squawk.io.mailboxes

Provides classes for inter-Isolate communication.

See:
          Description

Interface Summary
ICopiable Interface for objects that may be passed in ObjectEnvelopes between Isolates.
 

Class Summary
ByteArrayEnvelope A ByteArrayEnvelope can be used to pass a byte array, or subsection of a byte array through a Channel.
ByteArrayInputStreamEnvelope A ByteArrayInputStreamEnvelope can be used to pass a byte array, or subsection of a byte array, as a ByteArrayInputStream.
Channel A Channel is a private bidirectional message passing mechanism, typically between Isolates.
Envelope Abstract class for messages passed through Channels.
ObjectEnvelope A ObjectEnvelope can be used to pass a copy of an ICopiable object between isolates.
ServerChannel Given that a Channel is a one-to-one connection between two isolates, a ServerChannel provides a factory to create new Channels by name.
 

Exception Summary
AddressClosedException This exception is thrown when trying to send to a closed MailboxAddress, or when reading from a Mailbox, and the MailBoxHandler is managing a private address that has closed.
MailboxClosedException This exception is thrown when trying to receive from a closed Mailbox.
MailboxInUseException This exception is thrown when trying to send to register a mailbox under a name, and that name is already used.
NoSuchMailboxException This exception is thrown when trying to send to register a mailbox under a name, and that name is already used.
 

Package com.sun.squawk.io.mailboxes Description

Provides classes for inter-Isolate communication.


SunSPOT API V3.0


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