Package: com.multiversesocial.hyperview
Class: com.multiversesocial.hyperview.HyperChannelRegistry
Source: src/com/multiversesocial/hyperview/HyperChannelRegistry.java
This class sets up new Channels
public class HyperChannelRegistry implements HyperChannelConstants
| Declaration | Value / initializer | Description | Source |
|---|---|---|---|
public static HyperChannel[] channel | = new HyperChannel[MAX_CHANNELS] | Array of all Channels | |
public static int channelID | = 0 | No comment in source; name appears in 2 other source file(s): ChannelControlPane, ServerChannelPane. | |
public static HyperLinkedList[] channelInputVectorList | = new HyperLinkedList[MAX_CHANNELS] | No comment in source; assigned in synch(), makeChannels(); name appears in 3 other source file(s): ChannelControlPane, HyperNBInputHandler, ServerChannelPane. | |
public static HyperLinkedList channelIOList | = new HyperLinkedList("ChannelIOList") | No comment in source; assigned in synch(); name appears in 5 other source file(s): ChannelControlPane, HyperChannel, HyperNBInputHandler, HyperNBOutputHandler …. | |
public static HyperLinkedList[] channelOutputVectorList | = new HyperLinkedList[MAX_CHANNELS] | No comment in source; assigned in synch(), makeChannels(); name appears in 3 other source file(s): ChannelControlPane, HyperNBOutputHandler, ServerChannelPane. | |
static HyperChannelRegistry channelRegistry | = new HyperChannelRegistry() | No comment in source; assigned in getRegistry(), getChannel(), getChannelRegistry(); name appears in 2 other source file(s): ChannelControlPane, ServerChannelPane. | |
public static volatile boolean channelsCreated | = false | No comment in source; not referenced by name in this type’s methods. | |
static int channelSpaceSize | = MAX_CHANNELS | So you can assign preferences to the channel. | |
static ChannelTempLink[] channelTempLink | = new ChannelTempLink[MAX_CHANNELS] | Temp links/Linkable for channel IO accrue in HyperNBInputHandler.class and HyperNBOutputHandler.class | |
public static boolean[] impendingChannelIO | = new boolean[MAX_CHANNELS] | No comment in source; assigned in synch(), makeChannels(); name appears in 4 other source file(s): ChannelControlPane, HyperNBInputHandler, HyperNBOutputHandler, ServerChannelPane. | |
public static int totalChannels | = 0 | No comment in source; assigned in getChannel(), synch(); used in find(), paint(); name appears in 5 other source file(s): ChannelControlPane, HyperChannel, HyperNBInputHandler, HyperNBOutputHandler …. |
| Signature | Description | Source |
|---|---|---|
HyperChannelRegistry() | 1 statement(s); calls super(). |
| Signature | Description | Source |
|---|---|---|
static { … } | Implicit default constructor generated by the compiler (not written in the source). | |
static synchronized HyperChannel find(String tName) | 5 statement(s); calls tName.equals(). | |
static synchronized HyperChannel getChannel(String tName) | 8 statement(s); calls makeChannels(), tName.equals(); creates HyperChannelRegistry, HyperChannel. | |
static synchronized HyperChannel getChannel(int tIndex) throws ChannelIndexException | 7 statement(s); calls makeChannels(); creates ChannelIndexException, HyperChannelRegistry. | |
static synchronized HyperChannel[] getChannelList() | 2 statement(s); calls makeChannels(). | |
static synchronized HyperChannelRegistry getChannelRegistry() | 2 statement(s); creates HyperChannelRegistry. | |
static HyperChannelRegistry getRegistry() | 2 statement(s); creates HyperChannelRegistry. | |
public HyperLinkedList load() | Returns new HyperLinkedList(). | |
private static void makeChannels() | 2 statement(s); creates ChannelTempLink, HyperLinkedList. | |
public void paint(Graphics g) | Draw a simple channel registry summary (Cont channel table overview). | |
public int save() | Returns 0. | |
public static void synch(Object tInfo) throws IllegalChannelSynchException | 6 statement(s); calls makeChannels(); creates IllegalChannelSynchException. |
static call — ChannelControlPane.java, line 75
75 channelRegistry = HyperChannelRegistry.getChannelRegistry();
declaration — HyperChannel.java, line 40
40 static HyperChannelRegistry hyperChannelRegistry;