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

BufferConstants

HyperView V3.2 — interface
version V3.2 interface

Summary

The four possible IO operations

Source file: BufferConstants.java

Hierarchy

Extends: none

Implements: none

Referenced HyperView classes

Media files used

Declaration & members

public abstract interface BufferConstants

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

Fields (7)

DeclarationValue / initializerDescriptionSource
public static final byte BYTEBUFFER_TO_BYTEBUFFER= 2 (constant)No comment in source; not referenced by name in this type’s methods.line 12
public static final byte BYTEBUFFER_TO_CHANNEL= 1 (constant)No comment in source; not referenced by name in this type’s methods.line 11
public static final byte CHANNEL_TO_BYTEBUFFER= 0 (constant)The four possible IO operationsline 10
public static final byte CHANNEL_TO_CHANNEL= 3 (constant)No comment in source; not referenced by name in this type’s methods.line 13
public static final int DEFAULT_BUFFER_SIZE= 512 (constant)No comment in source; name appears in 4 other source file(s): ExternalizerConstants, HyperConnectionNode, HyperNodeReadVector, StateMachine.line 5
public static final int READ= 1 (constant)Else writeline 7
public static final int STATE_MACHINE_BUFFER_SIZE= 4096 (constant)No comment in source; name appears in 1 other source file(s): StateMachine.line 6

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 — HyperChannel.java, line 19

   19  public class HyperChannel extends Linkable implements Channel,BufferConstants,
   20  HyperChannelConstants, ChannelIOReply
   21  {

constant — HyperNodeReadVector.java, line 21

   20                                           // ATM this is 512 bytes or IP/MRU
   21  int readBufferSize             = BufferConstants.DEFAULT_BUFFER_SIZE;

implements — HyperConnectionNode.java, line 8

    8  public class HyperConnectionNode extends Linkable implements BufferConstants,HyperNodeConstants
    9  {
Hits--