|
" 2013 FRC Java API " |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.squawk.io.mailboxes.SharedMailboxHandler
public class SharedMailboxHandler
Constructor Summary | |
---|---|
SharedMailboxHandler()
Creates a new instance of SharedMailboxHandler |
Method Summary | |
---|---|
AddressClosedException |
handleClose(MailboxAddress address)
Called after a client closes a logical connection. |
MailboxAddress |
handleOpen(Mailbox originalMailbox,
MailboxAddress originalAddress,
MailboxAddress replyAddress)
The system has created an address to the Mailbox for the client to use, and we will pass that on to the client. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SharedMailboxHandler()
Method Detail |
---|
public MailboxAddress handleOpen(Mailbox originalMailbox, MailboxAddress originalAddress, MailboxAddress replyAddress)
handleOpen
in interface MailboxHandler
originalAddress
- a new private MailboxAddress created by the system for the client to use
communicate with Mailbox.replyAddress
- the address to reply to.originalMailbox
- the original Mailbox connected to.
public AddressClosedException handleClose(MailboxAddress address)
handleClose
in interface MailboxHandler
address
- the closed MailboxAddress.
|
" 2013 FRC Java API " |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |