Package: com.multiversesocial.hyperview
Class: com.multiversesocial.hyperview.MessagePortConstants
Source: src/com/multiversesocial/hyperview/MessagePortConstants.java

MessagePortConstants

HyperView V3.2 — interface
version V3.2 interface

Summary

== MessagePortConstants By Tony Swain 2017 Definitions for MessagePort based IO Multiplex & Listener ** parameter width depends on value.

Source file: MessagePortConstants.java

Hierarchy

Extends: none

Implements: none

Referenced HyperView classes

Media files used

Declaration & members

public abstract interface MessagePortConstants

Declared in src/com/multiversesocial/hyperview/MessagePortConstants.java, lines 9–134. 44 field(s), 0 constructor(s), 14 method(s). Every member has an anchor you can link to (e.g. MessagePortConstants.html#<id>).

Fields (44)

DeclarationValue / initializerDescriptionSource
public static final int BACKING_STORE_CHANNEL= 1 (constant)registry/database/cloudline 23
public static final int BROADCAST_CHANNEL= 16384 (constant)No comment in source; not referenced by name in this type’s methods.line 36
public static final int[] CHANNEL_PARAMETER_COUNT= {0, 3}No comment in source; not referenced by name in this type’s methods.line 39
public static final int DATABASE_CHANNEL= 8192 (constant)No comment in source; not referenced by name in this type’s methods.line 35
public static final int DISPLAY_CHANNEL= 4096 (constant)No comment in source; not referenced by name in this type’s methods.line 34
public static final int GPU_CHANNEL= 512 (constant)- render channelline 32
public static final int IO_BLOCK= 16384 (constant)0100 0000 0000 0000 use blocking IOline 52
public static final int IO_ECHO= 512 (constant)0000 0010 0000 0000 print to displayline 47
public static final int IO_ECHO_ENA= 2 (constant)No comment in source; not referenced by name in this type’s methods.line 60
public static final int IO_ENA= 1 (constant)-- IO Enable bits for IOFlagsline 59
public static final int IO_EXTENDED_ENA= 32 (constant)Enable vendor specific data typeline 16
public static final int IO_MULTIPLEX_TYPES= 15 (constant)No comment in source; not referenced by name in this type’s methods.line 18
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.line 85
public static final int IO_NEXT= 2048 (constant)0000 1000 0000 0000 ie: there's another/moreline 49
public static final int IO_NOTIFY= 256 (constant)0000 0001 0000 0000 Notify Monitor.line 46
public static final int IO_QUICK= 32768 (constant)No comment in source; name appears in 1 other source file(s): HyperConstants.line 53
public static final int IO_READ= 4096 (constant)0001 0000 0000 0000 force device to output dataline 50
public static final int IO_READ_ENA= 8 (constant)No comment in source; not referenced by name in this type’s methods.line 62
public static final int IO_REQUEST_MASK= 65280 (constant)No comment in source; not referenced by name in this type’s methods.line 56
public static final int IO_STORE= 1024 (constant)0000 0100 0000 0000 save to fileline 48
public static final int IO_STORE_ENA= 4 (constant)No comment in source; not referenced by name in this type’s methods.line 61
public static final int IO_WRITE= 8192 (constant)0010 0000 0000 0000 force device to input dataline 51
public static final int IO_WRITE_ENA= 16 (constant)No comment in source; not referenced by name in this type’s methods.line 63
public static final int KEYBOARD_CHANNEL= 64 (constant)No comment in source; not referenced by name in this type’s methods.line 29
public static final int MOUSE_CHANNEL= 2 (constant)No comment in source; not referenced by name in this type’s methods.line 24
public static final byte MOUSE_LMBD= 0 (constant)Mouse message flag bitsline 68
public static final byte MOUSE_LMBU= 2 (constant)No comment in source; not referenced by name in this type’s methods.line 70
public static final byte MOUSE_MOVE= 4 (constant)No comment in source; not referenced by name in this type’s methods.line 72
public static final byte MOUSE_RMBD= 1 (constant)No comment in source; name appears in 2 other source file(s): HyperMouse, MouseHandlerConstants.line 69
public static final byte MOUSE_RMBU= 3 (constant)No comment in source; not referenced by name in this type’s methods.line 71
public static final int MULTIPLEX_MASK= 31 (constant)No comment in source; not referenced by name in this type’s methods.line 19
public static final byte PRESSED= 0 (constant)No comment in source; name appears in 11 other source file(s): AWTEventManager, Asteroids, GetString, HyperEditBuffer ….line 76
public static final int REGISTRY_CHANNEL= 1024 (constant)No comment in source; not referenced by name in this type’s methods.line 33
public static final byte RELEASED= 1 (constant)No comment in source; name appears in 5 other source file(s): AWTEventManager, Asteroids, HyperFrame, HyperSelectItem ….line 77
public static final int RS232_CHANNEL= 128 (constant)No comment in source; not referenced by name in this type’s methods.line 30
public static final int SINK_CHANNEL= 0 (constant)IO Multiplex types. (6 bits reserved) ** Maximum # = 63 // expected additional parametersline 22
public static final int SOCKET_CHANNEL= 4 (constant)No comment in source; not referenced by name in this type’s methods.line 25
public static final int STDIN_CHANNEL= 16 (constant)No comment in source; not referenced by name in this type’s methods.line 27
public static final int STDOUT_CHANNEL= 32 (constant)No comment in source; not referenced by name in this type’s methods.line 28
public static final int SYSTEM_CHANNEL= 32768 (constant)ie: interruptsline 37
public static final byte UNICODE_ENA= 2 (constant)No comment in source; name appears in 1 other source file(s): TextConstants.line 78
public static final byte UNICODE_MASK= -3 (constant)
source: (byte)~(UNICODE_ENA)
No comment in source; not referenced by name in this type’s methods.line 79
public static final int USB_CHANNEL= 256 (constant)No comment in source; not referenced by name in this type’s methods.line 31
public static final int VIEW_CHANNEL= 8 (constant)asynchrounous blitter/copper listsline 26

Constructors (0)

None (interface).

Methods (14)

SignatureDescriptionSource
static { … }Implicit default constructor generated by the compiler (not written in the source).implicit
public abstract void flush()Interface method (no body); implemented by classes that implement this interface.line 132
public abstract int write(byte tByte)Interface method (no body); implemented by classes that implement this interface.line 118
public abstract int write(byte[] tByte)Interface method (no body); implemented by classes that implement this interface.line 119
public abstract int write(char tChar)Interface method (no body); implemented by classes that implement this interface.line 120
public abstract int write(char[] tChar)Interface method (no body); implemented by classes that implement this interface.line 121
public abstract int write(int tInt)Interface method (no body); implemented by classes that implement this interface.line 122
public abstract int write(int[] tInt)Interface method (no body); implemented by classes that implement this interface.line 123
public abstract int writeDirect(byte tByte)Interface method (no body); implemented by classes that implement this interface.line 126
public abstract int writeDirect(byte[] tByte)Interface method (no body); implemented by classes that implement this interface.line 127
public abstract int writeDirect(char tChar)Interface method (no body); implemented by classes that implement this interface.line 128
public abstract int writeDirect(char[] tChar)Interface method (no body); implemented by classes that implement this interface.line 129
public abstract int writeDirect(int tInt)Interface method (no body); implemented by classes that implement this interface.line 130
public abstract int writeDirect(int[] tInt)Interface method (no body); implemented by classes that implement this interface.line 131

Examples

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
}
Hits--