Package: com.multiversesocial.hyperview
Class: com.multiversesocial.hyperview.ViewMemoryConstants
Source: src/com/multiversesocial/hyperview/ViewMemoryConstants.java
Memory map Atomic block 4 bytes Local View # 4 bytes Extenal View # 4 bytes Server port # --- View Blocks * MAX_VIEWS
Extends: none
Implements: none
public abstract interface ViewMemoryConstants
| Declaration | Value / initializer | Description | Source |
|---|---|---|---|
public static final int DATA_BUFFER_SIZE | = 4096 | No comment in source; not referenced by name in this type’s methods. | |
public static final int EXTERNAL_IO_ENABLE | = 16 HyperConstants.EXTERNAL_IO_ENABLE | ie: Exec a process. | |
public static final int OFFSET_EXTERNAL_VIEWS | = 4 | No comment in source; name appears in 1 other source file(s): ViewMemory. | |
public static final int OFFSET_FLAGS | = 28 | 28 - 16 // HyperView.memoryFlags | |
public static final int OFFSET_IO_BLOCK_START | = 12 | No comment in source; name appears in 1 other source file(s): ViewMemory. | |
public static final int OFFSET_IOEND | = 32 | No comment in source; not referenced by name in this type’s methods. | |
public static final int OFFSET_IP_PORT | = 20 | No comment in source; not referenced by name in this type’s methods. | |
public static final int OFFSET_LISTEN_HOST | = 16 | 16 - 4 // View Info block | |
public static final int OFFSET_LOCAL_VIEWS | = 0 | -------------- Atomic Global info block offsets | |
public static final int OFFSET_PROCESS | = 24 | 24 - 12 // process ID # | |
public static final int OFFSET_SERVER_ID | = 8 | No comment in source; name appears in 1 other source file(s): ViewMemory. | |
public static final int OFFSET_VIEW_DATA_END | = 4136 OFFSET_VIEW_DATA_START + DATA_BUFFER_SIZE | No comment in source; not referenced by name in this type’s methods. | |
public static final int OFFSET_VIEW_DATA_START | = 40 | 36 - 28 beginning of buffer | |
public static final int OFFSET_VIEW_END | = 36 | 32 - 24 // end of View info block | |
public static final int P2P_BASE | = 8 HyperConstants.P2P_BASE | No comment in source; name appears in 1 other source file(s): HyperConstants. | |
public static final int SERVER_BASE | = 1 HyperConstants.SERVER_BASE | No comment in source; name appears in 2 other source file(s): HyperConstants, ViewMemory. | |
public static final int SERVER_BASE_RUNNING | = 1 | ------ Global bit defs. | |
public static final int SERVER_BASE_SIGNALED | = 2 | No comment in source; name appears in 1 other source file(s): ViewMemory. | |
public static final int SERVER_MASK | = 3 (SERVER_BASE | START_SERVER_BASE) | No comment in source; not referenced by name in this type’s methods. | |
public static final int SHUTDOWN_ALL | = 4 | No comment in source; not referenced by name in this type’s methods. | |
public static final int START_P2P_SERVER | = 4 HyperConstants.START_P2P_SERVER | No comment in source; name appears in 1 other source file(s): HyperConstants. | |
public static final int START_SERVER_BASE | = 2 HyperConstants.START_SERVER_BASE | No comment in source; name appears in 3 other source file(s): HyperConstants, HyperView, ViewMemory. | |
public static final int VIEW_INFO_INT_SIZE | = 6 ((VIEW_INFO_SIZE >> 2) & -1) | No comment in source; not referenced by name in this type’s methods. | |
public static final int VIEW_INFO_SIZE | = 24 OFFSET_VIEW_END - OFFSET_IO_BLOCK_START | --- block segment sizes | |
public static final int VIEW_INT_SIZE | = 263673 (VIEW_MEMORY_SIZE >>> 2) | No comment in source; name appears in 1 other source file(s): ViewMemory. | |
public static final int VIEW_MAX | = 255 | 255 Views should be enough for most :) | |
public static final int VIEW_MEMORY_SIZE | = 1054692 (VIEW_RECORD_SIZE * VIEW_MAX) + OFFSET_IO_BLOCK_START | No comment in source; name appears in 1 other source file(s): ViewMemory. | |
public static final int VIEW_PORT | = 0 | IO Multiplex Packet data offsets | |
public static final int VIEW_RECORD_SIZE | = 4136 OFFSET_VIEW_DATA_START + DATA_BUFFER_SIZE | No comment in source; name appears in 1 other source file(s): ViewMemory. | |
public static final int VIEW_RECORD_START | = 12 OFFSET_IO_BLOCK_START | No comment in source; name appears in 1 other source file(s): ViewMemory. | |
public static final int VIEW_ROM_TAG | = 1447642455 (int)(('V' << 24) | ('I' << 16) | ('E' << 8) | 'W') | 32 bit ROM TAG |
implements — ViewMemory.java, line 17
17 public class ViewMemory extends InterProcessMemory implements ViewMemoryConstants,
18 MessagePortConstants, SharedMemoryListener, MemoryInitializer
19 {