Overview | Package | Class | Tree | Deprecated | Index | Help | |||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--java.awt.Panel | +--java.applet.Applet | +--mil.navy.nps.awt.AwtMulticastRelayClient
Field Summary | |
static boolean | DEBUG
|
static java.lang.String | DEFAULT_LOCAL_UNICAST
|
static java.lang.String | DEFAULT_MCAST_ADDRESS
|
static java.lang.String | DEFAULT_MCAST_PORT
|
static java.lang.String | DEFAULT_SERVER_PORT
|
static java.lang.String | DEFAULT_SERVER
|
java.awt.TextField | localUnicastPort
|
boolean | m_fStandAlone
|
static int | MAX_PACKET_SIZE
|
java.awt.TextField | mcastServer
|
java.awt.TextField | mcastServerPort
|
java.awt.Checkbox | multicastCheckbox
|
java.net.MulticastSocket | multicastSocket
|
java.awt.TextField | packetCount
|
java.awt.TextField | port
|
java.awt.TextField | sendAddress
|
boolean | sending
|
static int | SOCKET_TIMEOUT
|
java.awt.CheckboxGroup | socketTypeRadio
|
java.awt.Button | startButton
|
java.awt.Button | stopButton
|
java.awt.Checkbox | unicastCheckbox
|
java.net.DatagramSocket | unicastSocket
|
Fields inherited from class java.awt.Panel | |
panelLayout |
Fields inherited from class java.awt.Container | |
component, containerListener, layoutMgr, ncomponents |
Fields inherited from class java.awt.Component | |
actionListenerK, adjustmentListenerK, background, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, componentListener, componentListenerK, componentOrientation, containerListenerK, cursor, dropTarget, enabled, eventMask, focusListener, focusListenerK, font, foreground, hasFocus, height, incRate, inputMethodListener, inputMethodListenerK, isInc, itemListenerK, keyListener, keyListenerK, LEFT_ALIGNMENT, locale, LOCK, minSize, mouseListener, mouseListenerK, mouseMotionListener, mouseMotionListenerK, newEventsOnly, parent, peer, popups, prefSize, RIGHT_ALIGNMENT, textListenerK, TOP_ALIGNMENT, valid, visible, width, windowListenerK, x, y |
Constructor Summary | |
AwtMulticastRelayClient()
Main constructor, which lays out fields in the AWT. |
Method Summary | |
void | actionPerformed(java.awt.event.ActionEvent ae)
ActionListener for the start and stop buttons. |
static void | debug(java.lang.String pDebugString)
Debugging output aid |
void | destroy()
|
java.lang.String | getAppletInfo()
|
void | init()
|
void | itemStateChanged(java.awt.event.ItemEvent e)
itemStateChanged is the implementation of the interface ItemListener, which is used by checkboxes. |
static void | main(java.lang.String[] args)
|
void | paint(java.awt.Graphics g)
|
void | relayPackets()
Does the dirty work of actually relaying the packets. |
void | start()
|
void | stop()
|
Methods inherited from class java.applet.Applet | |
destroy, getAppletContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, init, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus, start, stop |
Methods inherited from class java.awt.Panel | |
Methods inherited from class java.awt.Container | |
add, add, add, add, add, addContainerListener, addImpl, addNotify, applyOrientation, countComponents, deliverEvent, dispatchEventImpl, doLayout, eventEnabled, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponentAt, getComponentAt, getComponent, getComponentCount, getComponents, getInsets, getLayout, getMaximumSize, getMinimumSize, getMouseEventTarget, getPreferredSize, getWindow, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, nextFocus, paintComponents, paint, paramString, postProcessKeyEvent, postsOldMouseEvents, preferredSize, preProcessKeyEvent, printComponents, print, processContainerEvent, processEvent, proxyEnableEvents, proxyRequestFocus, removeAll, remove, remove, removeContainerListener, removeNotify, setFocusOwner, setLayout, transferFocus, update, validate, validateTree |
Methods inherited from class java.awt.Component | |
Methods inherited from class java.lang.Object | |
Field Detail |
public static final java.lang.String DEFAULT_SERVER
public static final java.lang.String DEFAULT_SERVER_PORT
public static final java.lang.String DEFAULT_MCAST_ADDRESS
public static final java.lang.String DEFAULT_MCAST_PORT
public static final java.lang.String DEFAULT_LOCAL_UNICAST
public static final int MAX_PACKET_SIZE
public static final boolean DEBUG
public static final int SOCKET_TIMEOUT
boolean m_fStandAlone
java.awt.TextField mcastServer
java.awt.TextField mcastServerPort
java.awt.TextField sendAddress
java.awt.TextField port
java.awt.TextField localUnicastPort
java.awt.TextField packetCount
java.awt.CheckboxGroup socketTypeRadio
java.awt.Checkbox multicastCheckbox
java.awt.Checkbox unicastCheckbox
boolean sending
java.awt.Button startButton
java.awt.Button stopButton
java.net.DatagramSocket unicastSocket
java.net.MulticastSocket multicastSocket
Constructor Detail |
public AwtMulticastRelayClient()
Method Detail |
public static void debug(java.lang.String pDebugString)
public static void main(java.lang.String[] args)
public java.lang.String getAppletInfo()
public void init()
public void destroy()
public void paint(java.awt.Graphics g)
public void start()
public void stop()
public void relayPackets()
public void actionPerformed(java.awt.event.ActionEvent ae)
public void itemStateChanged(java.awt.event.ItemEvent e)
Overview | Package | Class | Tree | Deprecated | Index | Help | |||
PREV CLASS | NEXT CLASS | FRAMES | NO FRAMES | ||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |