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

PortConstants

HyperView V3.2 — interface
version V3.2 interface

Summary

Server port bit defs for portFlags xxxxxxxx xxxxxxxx xxxxxxxx xxxx1111 port flags lower nibble

Source file: PortConstants.java

Hierarchy

Extends: none

Implements: none

Referenced HyperView classes

Media files used

Declaration & members

public abstract interface PortConstants

Declared in src/com/multiversesocial/hyperview/PortConstants.java, lines 4–41. 24 field(s), 0 constructor(s), 0 method(s). Every member has an anchor you can link to (e.g. PortConstants.html#<id>).

Fields (24)

DeclarationValue / initializerDescriptionSource
public static final int EMULATE_ANSI_VT100= 1 (constant)No comment in source; not referenced by name in this type’s methods.line 27
public static final int EMULATE_BML5= 2 (constant)Binary Markup Languageline 28
public static final int EMULATE_BT= 3 (constant)Bit torrentline 29
public static final int EMULATE_FTP= 4 (constant)No comment in source; not referenced by name in this type’s methods.line 30
public static final int EMULATE_RS2= 6 (constant)+ another 15 availableline 32
public static final int EMULATE_RS3= 7 (constant)No comment in source; not referenced by name in this type’s methods.line 33
public static final int EMULATE_TEXT= 0 (constant)Send to textPane or consoleline 26
public static final int EMULATE_VIEW= 5 (constant)reserved for expansionline 31
public static final byte EMULATION_CLR_MASK= 15 (constant)
source: (byte)~EMULATION_MASK
No comment in source; not referenced by name in this type’s methods.line 39
public static final byte EMULATION_MASK= -16 (constant)No comment in source; not referenced by name in this type’s methods.line 38
public static final int INIT_FLAGS= 4 (constant)
source: PORT_START
No comment in source; name appears in 3 other source file(s): HyperView, PortInfo, PortNode.line 35
public static final String INIT_FLAGSTRING= "4" (constant)
source: "" + INIT_FLAGS
No comment in source; not referenced by name in this type’s methods.line 36
public static final int MAX_PORTS= 255 (constant)No comment in source; name appears in 1 other source file(s): PortInfo.line 14
public static final int PORT_BASE= 5555 (constant)- random ports start hereline 15
public static final int PORT_CHANNEL_ENA= 64 (constant)No comment in source; name appears in 1 other source file(s): PortControlPane.line 22
public static final int PORT_CLOCK_ENA= 2 (constant)enable start/stop timingline 17
public static final String PORT_PREFIX= "port" (constant)xxxxxxxx xxxxxxxx xxxxxxxx xxxx1111 port flags lower nibble xxxxxxxx xxxxxxxx xxxxxxxx 1111xxxx emulation bits upper nibbleline 10
public static final int PORT_PROCESS_ENA= 16 (constant)enable exec of processline 20
public static final int PORT_RUN_AT_START= 1 (constant)enabe this port to run when createdline 16
public static final int PORT_START= 4 (constant)start now.line 18
public static final int PORT_START_ON_CREAT= 32 (constant)run port handler startupline 21
public static final int PORT_STOP= 8 (constant)stop now.line 19
public static final String PORTFLAG_PREFIX= "portflag" (constant)No comment in source; name appears in 1 other source file(s): PortInfo.line 11
public static final int PORTFLAG_PREFIX_END= 8 (constant)No comment in source; not referenced by name in this type’s methods.line 12

Constructors (0)

None (interface).

Methods (0)

None declared.

Examples

Real usage taken from elsewhere in the HyperView 3.2 source (file and line shown; source path src/com/multiversesocial/hyperview/).

implements — PortInfo.java, line 7

    7  public class PortInfo implements PortConstants //extends HyperPreferences
    8  {

constant — HyperConnectionHandler.java, line 1111

 1111  if((portNode.portFlags & PortConstants.PORT_RUN_AT_START)!=0)
 1112  {

constant — PortControlPane.java, line 202

  202  if((tFlags & PortConstants.PORT_RUN_AT_START)!=0)
  203  {
Hits--