Sun SPOT API
Green Release  


Package com.sun.squawk.io.mailboxes

Interface Summary
ICopiable Interface for objects that may be passed in ObjectEnvelopes between Isolates.
MailboxHandler The MailboxHandler is responsible for creating a logical connection to the client.
 

Class Summary
ByteArrayEnvelope A ByteArrayEnvelope can be used to pass a byte array, or subsection of a byte array to a MailBox.
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 link between two MailBoxes.
Envelope Abstract class for messages passed to MailBoxes.
Mailbox A Mailbox is used to receive and read messages.
MailboxAddress A MailboxAddress is a private reference to a remote Mailbox.
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.
SharedMailboxHandler  
 

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.
 


Sun SPOT API
Green Release  


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