Package: com.multiversesocial.hyperview
Class: com.multiversesocial.hyperview.MessagePortConstants
Source: src/com/multiversesocial/hyperview/MessagePortConstants.java
== MessagePortConstants By Tony Swain 2017 Definitions for MessagePort based IO Multiplex & Listener ** parameter width depends on value.
Extends: none
Implements: none
public abstract interface MessagePortConstants
| Declaration | Value / initializer | Description | Source |
|---|---|---|---|
public static final int BACKING_STORE_CHANNEL | = 1 | registry/database/cloud | |
public static final int BROADCAST_CHANNEL | = 16384 | No comment in source; not referenced by name in this type’s methods. | |
public static final int[] CHANNEL_PARAMETER_COUNT | = {0, 3} | No comment in source; not referenced by name in this type’s methods. | |
public static final int DATABASE_CHANNEL | = 8192 | No comment in source; not referenced by name in this type’s methods. | |
public static final int DISPLAY_CHANNEL | = 4096 | No comment in source; not referenced by name in this type’s methods. | |
public static final int GPU_CHANNEL | = 512 | - render channel | |
public static final int IO_BLOCK | = 16384 | 0100 0000 0000 0000 use blocking IO | |
public static final int IO_ECHO | = 512 | 0000 0010 0000 0000 print to display | |
public static final int IO_ECHO_ENA | = 2 | No comment in source; not referenced by name in this type’s methods. | |
public static final int IO_ENA | = 1 | -- IO Enable bits for IOFlags | |
public static final int IO_EXTENDED_ENA | = 32 | Enable vendor specific data type | |
public static final int IO_MULTIPLEX_TYPES | = 15 | No comment in source; not referenced by name in this type’s methods. | |
public static final String[] IO_MultiPlexTypeString | = {"MOUSE_TO_SERIAL", "MOUSE_TO_SOCKET", "MOUSE_TO_VIEW", "MOUSE_TO_STDOUT", "KEYBOARD_TO_MO… | No comment in source; not referenced by name in this type’s methods. | |
public static final int IO_NEXT | = 2048 | 0000 1000 0000 0000 ie: there's another/more | |
public static final int IO_NOTIFY | = 256 | 0000 0001 0000 0000 Notify Monitor. | |
public static final int IO_QUICK | = 32768 | No comment in source; name appears in 1 other source file(s): HyperConstants. | |
public static final int IO_READ | = 4096 | 0001 0000 0000 0000 force device to output data | |
public static final int IO_READ_ENA | = 8 | No comment in source; not referenced by name in this type’s methods. | |
public static final int IO_REQUEST_MASK | = 65280 | No comment in source; not referenced by name in this type’s methods. | |
public static final int IO_STORE | = 1024 | 0000 0100 0000 0000 save to file | |
public static final int IO_STORE_ENA | = 4 | No comment in source; not referenced by name in this type’s methods. | |
public static final int IO_WRITE | = 8192 | 0010 0000 0000 0000 force device to input data | |
public static final int IO_WRITE_ENA | = 16 | No comment in source; not referenced by name in this type’s methods. | |
public static final int KEYBOARD_CHANNEL | = 64 | No comment in source; not referenced by name in this type’s methods. | |
public static final int MOUSE_CHANNEL | = 2 | No comment in source; not referenced by name in this type’s methods. | |
public static final byte MOUSE_LMBD | = 0 | Mouse message flag bits | |
public static final byte MOUSE_LMBU | = 2 | No comment in source; not referenced by name in this type’s methods. | |
public static final byte MOUSE_MOVE | = 4 | No comment in source; not referenced by name in this type’s methods. | |
public static final byte MOUSE_RMBD | = 1 | No comment in source; name appears in 2 other source file(s): HyperMouse, MouseHandlerConstants. | |
public static final byte MOUSE_RMBU | = 3 | No comment in source; not referenced by name in this type’s methods. | |
public static final int MULTIPLEX_MASK | = 31 | No comment in source; not referenced by name in this type’s methods. | |
public static final byte PRESSED | = 0 | No comment in source; name appears in 11 other source file(s): AWTEventManager, Asteroids, GetString, HyperEditBuffer …. | |
public static final int REGISTRY_CHANNEL | = 1024 | No comment in source; not referenced by name in this type’s methods. | |
public static final byte RELEASED | = 1 | No comment in source; name appears in 5 other source file(s): AWTEventManager, Asteroids, HyperFrame, HyperSelectItem …. | |
public static final int RS232_CHANNEL | = 128 | No comment in source; not referenced by name in this type’s methods. | |
public static final int SINK_CHANNEL | = 0 | IO Multiplex types. (6 bits reserved) ** Maximum # = 63 // expected additional parameters | |
public static final int SOCKET_CHANNEL | = 4 | No comment in source; not referenced by name in this type’s methods. | |
public static final int STDIN_CHANNEL | = 16 | No comment in source; not referenced by name in this type’s methods. | |
public static final int STDOUT_CHANNEL | = 32 | No comment in source; not referenced by name in this type’s methods. | |
public static final int SYSTEM_CHANNEL | = 32768 | ie: interrupts | |
public static final byte UNICODE_ENA | = 2 | No comment in source; name appears in 1 other source file(s): TextConstants. | |
public static final byte UNICODE_MASK | = -3 (byte)~(UNICODE_ENA) | No comment in source; not referenced by name in this type’s methods. | |
public static final int USB_CHANNEL | = 256 | No comment in source; not referenced by name in this type’s methods. | |
public static final int VIEW_CHANNEL | = 8 | asynchrounous blitter/copper lists |
| Signature | Description | Source |
|---|---|---|
static { … } | Implicit default constructor generated by the compiler (not written in the source). | |
public abstract void flush() | Interface method (no body); implemented by classes that implement this interface. | |
public abstract int write(byte tByte) | Interface method (no body); implemented by classes that implement this interface. | |
public abstract int write(byte[] tByte) | Interface method (no body); implemented by classes that implement this interface. | |
public abstract int write(char tChar) | Interface method (no body); implemented by classes that implement this interface. | |
public abstract int write(char[] tChar) | Interface method (no body); implemented by classes that implement this interface. | |
public abstract int write(int tInt) | Interface method (no body); implemented by classes that implement this interface. | |
public abstract int write(int[] tInt) | Interface method (no body); implemented by classes that implement this interface. | |
public abstract int writeDirect(byte tByte) | Interface method (no body); implemented by classes that implement this interface. | |
public abstract int writeDirect(byte[] tByte) | Interface method (no body); implemented by classes that implement this interface. | |
public abstract int writeDirect(char tChar) | Interface method (no body); implemented by classes that implement this interface. | |
public abstract int writeDirect(char[] tChar) | Interface method (no body); implemented by classes that implement this interface. | |
public abstract int writeDirect(int tInt) | Interface method (no body); implemented by classes that implement this interface. | |
public abstract int writeDirect(int[] tInt) | Interface method (no body); implemented by classes that implement this interface. |
Illustrative example — not taken from the source (no other file in the tree uses this type); written to match the real signatures listed above.
// A class in package com.multiversesocial.hyperview implementing MessagePortConstants
class MyMessagePortConstants implements MessagePortConstants
{
public int write(byte tByte) { return 0; }
public int write(byte[] tByte) { return 0; }
public int write(char tChar) { return 0; }
public int write(char[] tChar) { return 0; }
// ... plus the other 9 interface method(s) listed above
}