Package: com.multiversesocial.hyperview
Class: com.multiversesocial.hyperview.ServerChannelPane
Source: src/com/multiversesocial/hyperview/ServerChannelPane.java
-------------------------- A reference to the ConnectionHandler
public class ServerChannelPane extends BasicPane implements ChannelView
| Declaration | Value / initializer | Description | Source |
|---|---|---|---|
static HyperChannel[] channel | <Channel Info> Channel data is linked via-> HyperChannelRegistry.synch() | ||
static int channelID | = 0 | No comment in source; name appears in 2 other source file(s): ChannelControlPane, HyperChannelRegistry. | |
static HyperLinkedList[] channelInputVectorList | No comment in source; name appears in 3 other source file(s): ChannelControlPane, HyperChannelRegistry, HyperNBInputHandler. | ||
static HyperLinkedList channelIOList | No comment in source; name appears in 5 other source file(s): ChannelControlPane, HyperChannel, HyperChannelRegistry, HyperNBInputHandler …. | ||
static HyperLinkedList[] channelOutputVectorList | No comment in source; name appears in 3 other source file(s): ChannelControlPane, HyperChannelRegistry, HyperNBOutputHandler. | ||
HyperChannelRegistry channelRegistry | = null | No comment in source; assigned in ServerChannelPane(). | |
ChannelTempLink[] channelTempLink | No comment in source; name appears in 5 other source file(s): ChannelControlPane, HyperChannel, HyperChannelRegistry, HyperNBInputHandler …. | ||
volatile int currentChannel | = -1 | No comment in source; used in updateChannelView(). | |
GetString dataGetString | No comment in source; assigned in ServerChannelPane(). | ||
static boolean[] impendingChannelIO | No comment in source; name appears in 4 other source file(s): ChannelControlPane, HyperChannelRegistry, HyperNBInputHandler, HyperNBOutputHandler. | ||
volatile boolean[] inChannel | No comment in source; assigned in ServerChannelPane(), cleanUp(); used in updateChannelView(), inChannel(). | ||
Color ioPaneColor0 | = null | No comment in source; assigned in ServerChannelPane(); used in updateChannelView(). | |
Color ioPaneColor1 | = null | No comment in source; assigned in ServerChannelPane(); used in updateChannelView(). | |
Color ioPaneColor2 | = null | No comment in source; assigned in ServerChannelPane(); used in updateChannelView(). | |
int ioPaneHeight | = 0 | No comment in source; assigned in ServerChannelPane(); used in updateChannelView(). | |
int ioPaneWidth | = 150 | No comment in source; used in updateChannelView(). | |
int ioPaneX | = 6 | No comment in source; used in updateChannelView(). | |
int ioPaneY | = 6 | No comment in source; used in updateChannelView(). | |
Gadget joinChannelGadget | No comment in source; assigned in ServerChannelPane(). | ||
String lastIOString | = null | No comment in source; assigned in updateChannelView(). | |
ServerChannelPane.LeaveChannelDispatch leaveChannelDispatch | No comment in source; name appears in 1 other source file(s): ChannelControlPane. | ||
Gadget leaveChannelGadget | No comment in source; assigned in ServerChannelPane(). | ||
ServerChannelPane.NewChannelDispatch newChannelDispatch | No comment in source; assigned in ServerChannelPane(). | ||
Gadget newChannelGadget | No comment in source; assigned in ServerChannelPane(). | ||
Gadget nextChannelGadget | No comment in source; assigned in ServerChannelPane(). | ||
PortNode portNode | No comment in source; used in getNode(). | ||
Gadget sendChannelGadget | No comment in source; assigned in ServerChannelPane(). | ||
HyperChannelNodeLink[] serverChannelJoinedList | No comment in source; assigned in ServerChannelPane(). | ||
static int totalChannels | = 0 | No comment in source; assigned in updateChannelView(); name appears in 5 other source file(s): ChannelControlPane, HyperChannel, HyperChannelRegistry, HyperNBInputHandler …. |
| Signature | Description | Source |
|---|---|---|
ServerChannelPane(HyperView tView) | 2 statement(s); calls super(), ioPaneColor1.brighter(), ioPaneColor1.darker().darker(), ioPaneColor1.darker(), move() …; creates Color, GetString, Gadget. | |
ServerChannelPane(HyperView tView, int tInt, int tInt2) | 1 statement(s); calls this(). |
| Signature | Description | Source |
|---|---|---|
static { … } | Implicit default constructor generated by the compiler (not written in the source). | |
public void cleanUp() | 4 statement(s); calls super.cleanUp(), channel[z].leave(). | |
public HyperConnectionNode getNode(HyperChannel tChannel) | Returns portNode.connectionHandler.getNode(tChannel). | |
public synchronized boolean inChannel(HyperChannel tChannel) | Returns inChannel[tChannel.id]. | |
public int updateChannelView(String tChannelName, Graphics tGraphics, ByteBuffer tBuffer) | 37 statement(s); calls tGraphics.setColor(), tGraphics.fillRect(), tGraphics.drawLine(), tGraphics.drawString(), tBuffer.hasRemaining() …. |
class NewChannelDispatch extends Dispatch
| Signature | Description | Source |
|---|---|---|
NewChannelDispatch() | 1 statement(s); calls super(). |
| Signature | Description | Source |
|---|---|---|
public boolean begin(HyperView tView) | 4 statement(s); calls tPop.getString[0].textStr.equals(), HyperChannelRegistry.getChannel(), PortInfo.getPortNode(), HyperView.getDefaultPort(), updateChannelView() …; creates HyperStringPop, HyperPop. |
class JoinChannelDispatch extends Dispatch
| Declaration | Value / initializer | Description | Source |
|---|---|---|---|
ServerChannelPane parentPane | = null | No comment in source; assigned in JoinChannelDispatch(); used in begin(). |
| Signature | Description | Source |
|---|---|---|
JoinChannelDispatch(ServerChannelPane tPane) | 2 statement(s); calls super(). |
| Signature | Description | Source |
|---|---|---|
public boolean begin(HyperView tView) | 4 statement(s); calls tPop.getString[0].textStr.equals(), HyperChannelRegistry.getChannel(), System.exit(), tChannel.setChannelView(), tChannel.join() …; creates HyperStringPop, HyperPop. |
class LeaveChannelDispatch extends Dispatch
| Declaration | Value / initializer | Description | Source |
|---|---|---|---|
ServerChannelPane parentPane | = null | No comment in source; assigned in LeaveChannelDispatch(); used in begin(). |
| Signature | Description | Source |
|---|---|---|
LeaveChannelDispatch(ServerChannelPane tPane) | 2 statement(s); calls super(). |
| Signature | Description | Source |
|---|---|---|
public boolean begin(HyperView tView) | 2 statement(s); calls channel[currentChannel].leave(), channel[currentChannel].removeChannelView(), updateChannelView(); creates HyperPop. |
class SendChannelDispatch extends Dispatch
| Signature | Description | Source |
|---|---|---|
SendChannelDispatch() | 1 statement(s); calls super(). |
| Signature | Description | Source |
|---|---|---|
public boolean begin(HyperView tView) | 2 statement(s); calls tString.length(), tChannel.sendIO(), tString.getBytes(); creates HyperPop. |
class ServerChannelPaneAbort extends Abort
| Declaration | Value / initializer | Description | Source |
|---|---|---|---|
ServerChannelPane parentPane | = null | No comment in source; assigned in ServerChannelPaneAbort(), begin(). |
| Signature | Description | Source |
|---|---|---|
ServerChannelPaneAbort(ServerChannelPane tPane) | 2 statement(s); calls super(). | |
ServerChannelPaneAbort(HyperView tView, ServerChannelPane tPane) | 2 statement(s); calls super(). |
| Signature | Description | Source |
|---|---|---|
public boolean begin(HyperView tView) | <Standard HyperView abort procedure.> |
class SetNextChannel extends Dispatch
| Declaration | Value / initializer | Description | Source |
|---|---|---|---|
ServerChannelPane parentPane | = null | No comment in source; assigned in SetNextChannel(). |
| Signature | Description | Source |
|---|---|---|
SetNextChannel(ServerChannelPane tPane) | 2 statement(s); calls super(). |
| Signature | Description | Source |
|---|---|---|
public boolean begin(HyperView tView) | 4 statement(s); calls updateChannelView(). |
Fields: charHeight, deviceColor0, deviceColor1, deviceColor2, fontHeight, frameColor, frameColor1, frameColor2, frameColor3, frameWidth, itemColor0, itemColor1, itemColor2, menuPaneColor, mpHeight, mpWidth, mpX, mpX2, mpY, mpY2, selectedColor0, selectedColor1, selectedColor2, textColor, textPaneColor, textPaneHeight, textPaneWidth
Methods: drawString(String, int, int), drawString(String, int, int, int), drawStrings(StringArr, int, int), erase(), makeBitMap(Font), setFont(Font), setPaneColor(int), update()
Fields: backColor, conFont, cursorGraphics, cursorHeight, cursorImage, cursorName, cursorScrollXOffset, cursorScrollYOffset, cursorWidth, cursorX, cursorY, displayInfo, fGColor, flipCount, font, gadFlags, gadFlags2, gadNumber, keyboard, lastCursorX, lastCursorY, lineColorA, lineColorB, lineColorC, locked, method, parentTitlebar, stringHeight, stringWidth, stringX, stringY, tc1, tc2, tc3, tc4
Methods: addDispatch(Dispatch), allKeyMsgENA(), drawCursor(), drawOutline(), drawOutline2(), getForeground(), inKey(), inString(String), isEnabled(), isShowing(), isVisible(), keyReleaseENA(), keyTypedENA(), layerDisable(), layerENA(), makeBitmap(Font), mouseWheelMoved(MouseWheelEvent), onMouseOver(), setEnabled(boolean), setForeground(int), setName(String), setVisible(boolean), toFront(), toString(), updateText()
Fields: asynchGraphics1, asynchGraphics2, asynchImage1, asynchImage2, attachedGob, attachedIndex, backGround, bgMemoryImageSource, bGPen, bottomMax, clickX, clickY, collisionClassMask, curAttached, currentZIndex, curView, depth, destGob, destGraphics, dispatchHoldCount, drawMode, dX, dY, dZ, fgMemoryImageSource, fGPen, gobEventFlags, gobFlags, gobFlags2, gobGadIndex, gobHx, gobHy, gobHz, gobName, gobNumber, gobOrbitRadius, gobPic, gobTypeFlags, graphics, gravity, height, heightBase, hSin, hyp, infoString, lClickX, lClickY, leftMin, maxAttached, memoryCounter, moveNum, mX, mX2, mY, mY2, oldX, oldY, oldZ, orbitGob, rightMax, scanLine, selectGraphics, selectImage, selectTime, spline, tint, topMin, totalAttached, width, widthBase, wSin, x, x2, y, y2, z
Methods: addGob(Gob), addSpline(Spline), center(), collisionOff(), collisionOn(), disable(), enable(), getGraphics(), getImageFromJar(String), getPixels(), gobZInit(), initScanline(int), inView(), isInView(), isMemoryImageSource(), move(int, int), move(Gadget, int, int), moveNext(), onClick(), onDisplay(), onRelease(), printGobAttr(HyperView), printScanLines(), remGob(), remove(), zENA(), zOff()
Fields: attachment, index, linkFlags, name, next, parentList, prev
Methods: inList()
instantiation — GetChannels.java, line 22
22 new ServerChannelPane(curView); // Add Pane to View.
subclass — ChannelControlPane.java, line 8
8 public class ChannelControlPane extends ServerChannelPane implements ChannelView
9 {
declaration — HyperChannel.java, line 405
404 // Join for ChannelView interface
405 public void join(ServerChannelPane tPane)
406 {