| java.lang.Object com.sun.midp.links.Link
Constructor Summary | |
| Link() Creates a new, empty link. |
Method Summary | |
native public void | close() | public boolean | equals(Object obj) | public int | hashCode() | native public boolean | isOpen() | public static Link | newLink(Isolate sender, Isolate receiver) | public LinkMessage | receive() Throws IllegalArgumentException if the calling thread is not in the
receiving isolate for this link.
(Note: this differs from the JSR-121 specification, which states that
UnsupportedOperationException should be thrown in this case. | public void | send(LinkMessage lm) Throws IllegalArgumentException if the calling thread is not in the
sending isolate for this link.
(Note: this differs from the JSR-121 specification, which states that
UnsupportedOperationException should be thrown in this case. |
Link | Link()(Code) | | Creates a new, empty link. This link must be filled in by native code
before it can be used.
|
close | native public void close()(Code) | | |
hashCode | public int hashCode()(Code) | | |
isOpen | native public boolean isOpen()(Code) | | |
receive | public LinkMessage receive() throws ClosedLinkException, InterruptedIOException, IOException(Code) | | Throws IllegalArgumentException if the calling thread is not in the
receiving isolate for this link.
(Note: this differs from the JSR-121 specification, which states that
UnsupportedOperationException should be thrown in this case. That
exception doesn't appear in CLDC, so IllegalArgumentException is thrown
instead.)
|
send | public void send(LinkMessage lm) throws ClosedLinkException, InterruptedIOException, IOException(Code) | | Throws IllegalArgumentException if the calling thread is not in the
sending isolate for this link.
(Note: this differs from the JSR-121 specification, which states that
UnsupportedOperationException should be thrown in this case. That
exception doesn't appear in CLDC, so IllegalArgumentException is thrown
instead.)
|
|
|