public class DesktopFrameOpenBusEventHandler extends OpenBusEventHandler
| Constructor and Description |
|---|
DesktopFrameOpenBusEventHandler(DesktopFrame desktop)
Construtor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
fireDesktopVisibilityInfo(boolean shown)
Envia mensagens do tipo
OpenBusStandardEvents.DESKTOP_VISIBILITY_INFO. |
protected boolean |
fireInsideApplication(String sourceId,
String appId)
Executa aplicativos e envia mensagens do tipo:
OpenBusStandardEvents.APP_EXECUTION_SUCCESS_RSP ou
OpenBusStandardEvents.APP_EXECUTION_FAILURE_RSP. |
protected boolean |
firePrjOpenFailedRsp(String destId,
String stringValue)
Dispara evento de falha de abertura de projeto.
|
protected boolean |
firePrjOpenSuccessRsp(String destId,
String stringValue) |
boolean |
receiveEventWithBooleanValue(String sourceId,
String destId,
String type,
boolean booleanValue)
Recebe mensagem com valor booleano.
|
boolean |
receiveEventWithNoValue(String sourceId,
String destId,
String type)
Recebe mensagem sem valor
|
boolean |
receiveEventWithStringValue(String sourceId,
String destId,
String type,
String stringValue)
Recebe mensagem com valor string.
|
void |
shutdown()
Método de finalização; envia mensagens do tipo:
OpenBusStandardEvents.DESKTOP_END_INFO. |
getClientInstanceId, getFatherClientInstanceId, isAnonymousId, isEventFromFatherAndToMe, isEventFromIdentifiedSourceAndToMe, isMyFatherId, isMyId, logReceivedEvent, logSentEvent, sendEventWithBooleanValue, sendEventWithNoValue, sendEventWithStringValuepublic DesktopFrameOpenBusEventHandler(DesktopFrame desktop)
desktop - o desktopprotected final void fireDesktopVisibilityInfo(boolean shown)
OpenBusStandardEvents.DESKTOP_VISIBILITY_INFO.shown - indicativoprotected final boolean fireInsideApplication(String sourceId, String appId)
OpenBusStandardEvents.APP_EXECUTION_SUCCESS_RSP ou
OpenBusStandardEvents.APP_EXECUTION_FAILURE_RSP.sourceId - id do cliente originário da mensagemappId - id da aplicaçãoprotected final boolean firePrjOpenFailedRsp(String destId, String stringValue)
destId - id do destino.stringValue - projeto em questãoprotected final boolean firePrjOpenSuccessRsp(String destId, String stringValue)
destId - id do destinostringValue - projeto.public boolean receiveEventWithBooleanValue(String sourceId, String destId, String type, boolean booleanValue)
receiveEventWithBooleanValue in interface OpenBusEventReceiverInterfacereceiveEventWithBooleanValue in class OpenBusEventHandlersourceId - id do remetentedestId - id do destinatáriotype - tipobooleanValue - valor booleano.public boolean receiveEventWithNoValue(String sourceId, String destId, String type)
receiveEventWithNoValue in interface OpenBusEventReceiverInterfacereceiveEventWithNoValue in class OpenBusEventHandlersourceId - id do remetentedestId - id do destinatáriotype - tipopublic boolean receiveEventWithStringValue(String sourceId, String destId, String type, String stringValue)
receiveEventWithStringValue in interface OpenBusEventReceiverInterfacereceiveEventWithStringValue in class OpenBusEventHandlersourceId - id do remetentedestId - id do destinatáriotype - tipostringValue - valor stringpublic void shutdown()
OpenBusStandardEvents.DESKTOP_END_INFO.Copyright © 2018. All rights reserved.