| java.lang.Object com.sun.jump.os.JUMPMessageQueueInterface com.sun.jumpimpl.os.JUMPMessageQueueInterfaceImpl
JUMPMessageQueueInterfaceImpl | public class JUMPMessageQueueInterfaceImpl extends JUMPMessageQueueInterface (Code) | | This subclass of JUMPMessageQueueInterface implements
JUMPMessageQueue for the linux OS.
|
Method Summary | |
native public int | getDataOffset() | native public String | getReturnType() | native public byte[] | receiveMessage(String messageType, long timeout) | native public void | reserve(String messageType) To make sure that the OS structures exist for the type we
are listening to, before we start listening. | native public void | sendMessageAsync(int pid, byte[] message, boolean isResponse) | native public void | sendMessageResponse(byte[] message, boolean isResponse) Send a response to a process (return information in the message). | native public byte[] | sendMessageSync(int pid, byte[] message, boolean isResponse, long timeout) Send a synchronous message and get byte[] back from which
we can construct a JUMPMessage. | native public void | unblock(String messageType) Causes a thread blocking in or about to block in
receiveMessage(messageType) to throw JUMPUnblockedException. | native public void | unreserve(String messageType) Free low-level structures when we're done listening. |
JUMPMessageQueueInterfaceImpl | protected JUMPMessageQueueInterfaceImpl()(Code) | | |
getDataOffset | native public int getDataOffset()(Code) | | Get offset of non-OS data in message buffer
|
reserve | native public void reserve(String messageType) throws IOException(Code) | | To make sure that the OS structures exist for the type we
are listening to, before we start listening.
|
sendMessageAsync | native public void sendMessageAsync(int pid, byte[] message, boolean isResponse) throws IOException(Code) | | Send an asynchronous message to process pid
throws: JUMPTargetNonexistentException - throws: JUMPWouldBlockException - throws: IOException - |
sendMessageResponse | native public void sendMessageResponse(byte[] message, boolean isResponse) throws IOException(Code) | | Send a response to a process (return information in the message).
throws: JUMPTargetNonexistentException - throws: JUMPWouldBlockException - throws: IOException - |
sendMessageSync | native public byte[] sendMessageSync(int pid, byte[] message, boolean isResponse, long timeout) throws JUMPTimedOutException, IOException(Code) | | Send a synchronous message and get byte[] back from which
we can construct a JUMPMessage.
throws: JUMPTimedOutException - throws: JUMPTargetNonexistentException - throws: JUMPWouldBlockException - throws: IOException - |
unblock | native public void unblock(String messageType) throws IOException(Code) | | Causes a thread blocking in or about to block in
receiveMessage(messageType) to throw JUMPUnblockedException.
|
unreserve | native public void unreserve(String messageType)(Code) | | Free low-level structures when we're done listening.
|
|
|