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

MakeConnection

HyperView V3.2 — class
version V3.2 class

Summary

System.out.println("MCN synch"); System.out.println("/MCN synch");

Source file: MakeConnection.java

Hierarchy

Extends: Dispatch

Implements: ConnectionConstants, ConnectionListener

Referenced HyperView classes

Media files used

Declaration & members

public class MakeConnection extends Dispatch implements ConnectionConstants, ConnectionListener

Declared in src/com/multiversesocial/hyperview/MakeConnection.java, lines 6–63. 4 field(s), 1 constructor(s), 5 method(s). Every member has an anchor you can link to (e.g. MakeConnection.html#<id>).

Fields (4)

DeclarationValue / initializerDescriptionSource
boolean connectedNo comment in source; assigned in MakeConnection(); used in connected().line 8
ExternalConnectionNode externalConnectionNodeNo comment in source; name appears in 2 other source file(s): HyperConnectionNode, HyperExternalConnectionHandler.line 9
String hostSomewhat redundant.line 10
int portNo comment in source; assigned in MakeConnection(); used in begin().line 11

Constructors (1)

SignatureDescriptionSource
MakeConnection(HyperView tView, String tHost, int tPort)5 statement(s); calls super().line 13

Methods (5)

SignatureDescriptionSource
public boolean begin(HyperView tView)5 statement(s); calls HyperExternalConnectionHandler.connect().
Overrides Dispatch.begin()
line 21
public boolean connected()Returns false.line 32
public boolean disconnect()Returns true.line 37
public int onConnect(ExternalConnectionNode tNode)5 statement(s).
Implements ConnectionListener.onConnect()
line 42
public int onDisconnect()4 statement(s).line 51

Inherited members

Non-private members inherited from HyperView superclasses and not overridden or hidden here.

From Dispatch (48 fields, 4 methods)

Fields: backImage, backImageName, bGPen, clickedGad, curView, cz, fGPen, flags, flags2, focus, gads, GetStringFlag, getStringList, gob, grabbedGad, ID, menuBase, name, noname, num, retVal, savedFlags, sz, tbyte, textBGPen, textFadedColor, textFadeFrame, textFGPen, textFlag, textFont, textLinger, textOrigin, textRestart, textStr, textTimer, textX, textY, tGad, title, titleBltGraphics, titleBltImage, titleGraphics, titleImage, totalGads, totalGetStrings, totalGobs, totalViewStrings, tz

Methods: cleanUp(), run(), setID(int), setView(HyperView)

Examples

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

instantiation — HyperView.java, line 884

  884  makeConnection = new
  885                  MakeConnection(
  886                     this,defaults.listenHost.value,
  887                     Integer.parseInt(defaults.listenPort.value)

declaration — Disconnect.java, line 7

    7  MakeConnection makeConnection = null;
Hits--