|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
cgl.narada.samples.nbNative.RobustPublisherGui
public class RobustPublisherGui
Title: RobustPublisherGui
Description: Robust RobustPublisherGui
Copyright: Copyright (c) 2003
Company: Pervasive Tech Lab
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
RobustPublisherGui()
Constructor |
|
| Method Summary | |
|---|---|
Properties |
createProperties(String hostname,
String portnumber)
create properties |
void |
initializeBrokerCommunications(Properties properties,
String string)
Initilize broker communication |
void |
initializeProducerAndConsumer(int templateID,
int templateType,
String synopsis)
initilize producer |
static void |
main(String[] args)
|
protected JComponent |
makeConnectPanel()
Creates Connect Tabbed Pane |
protected JComponent |
makeRadioButtonPanel()
Creates panel that consists radio buttons |
protected JComponent |
makeSendPanel()
|
protected JComponent |
makeTemplatePanel()
creates Tabbed Tamplate info Pane |
void |
onEvent(NBEvent nbevent)
listens the comming messages |
void |
onRecovery(NBRecoveryNotification nbrecoverynotification)
listens comming notification for recovery |
void |
publishEvent(String string,
int templateid,
String synopsis)
publish events |
void |
RobustPublisher(int entityId)
initilize client service |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RobustPublisherGui()
| Method Detail |
|---|
public void RobustPublisher(int entityId)
entityId - is client entity id
public void initializeBrokerCommunications(Properties properties,
String string)
throws ServiceException
properties - string -
ServiceException
public void initializeProducerAndConsumer(int templateID,
int templateType,
String synopsis)
throws ServiceException
templateID - is teplate idsynopsis - for producer
ServiceException
public void publishEvent(String string,
int templateid,
String synopsis)
throws ServiceException
string - is message stringtemplateid - is the template idsynopsis -
ServiceExceptionpublic void onEvent(NBEvent nbevent)
onEvent in interface NBEventListenernbevent - is the comming message packagepublic void onRecovery(NBRecoveryNotification nbrecoverynotification)
onRecovery in interface NBRecoveryListenernbrecoverynotification -
public Properties createProperties(String hostname,
String portnumber)
hostname - host nameportnumber - port number
protected JComponent makeConnectPanel()
protected JComponent makeRadioButtonPanel()
protected JComponent makeTemplatePanel()
protected JComponent makeSendPanel()
public static void main(String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||