Class TigerRemoteProxyClient
java.lang.Object
de.gematik.test.tiger.proxy.AbstractTigerProxy
de.gematik.test.tiger.proxy.client.TigerRemoteProxyClient
- All Implemented Interfaces:
ITigerProxy,AutoCloseable
The TigerRemoteProxyClient is a client for a TigerProxy that is running on a remote machine. It
is mostly used by the TigerProxy itself to establish and hold that connection. It can also be
used to manipulate the setup on a remote proxy (e.g. adding routes, modifications, etc.). The
second scenario would be independently of a master TigerProxy.
-
Field Summary
FieldsFields inherited from class de.gematik.test.tiger.proxy.AbstractTigerProxy
log -
Constructor Summary
ConstructorsConstructorDescriptionTigerRemoteProxyClient(String remoteProxyUrl) TigerRemoteProxyClient(String remoteProxyUrl, de.gematik.test.tiger.common.data.config.tigerproxy.TigerProxyConfiguration configuration) TigerRemoteProxyClient(String remoteProxyUrl, de.gematik.test.tiger.common.data.config.tigerproxy.TigerProxyConfiguration configuration, TigerProxy masterTigerProxy) -
Method Summary
Modifier and TypeMethodDescriptionde.gematik.test.tiger.common.config.RbelModificationDescriptionaddModificaton(de.gematik.test.tiger.common.config.RbelModificationDescription modification) voidaddRbelMessageListener(IRbelMessageListener listener) addRoute(TigerProxyRoute tigerRoute) voidvoidclose()voidconnect()List<de.gematik.test.tiger.common.config.RbelModificationDescription>intde.gematik.test.tiger.proxy.client.TigerStompSessionHandlervoidinitOrUpdateMessagePart(String uuid, PartialTracingMessage partialTracingMessage) booleanprotected booleanbooleanmessageMatchesFilterCriterion(RbelElement rbelMessage) voidvoidremoveModification(String modificationName) voidremoveRoute(String routeId) voidscheduleAfterMessage(String previousMessageUuid, Runnable parseMessageTask, String thisMessageUuid) voidsetMaximumPartialMessageAge(Duration maximumPartialMessageAge) voidvoidtriggerListener(RbelElement element, RbelMessageMetadata metadata) voidvoidMethods inherited from class de.gematik.test.tiger.proxy.AbstractTigerProxy
addKey, canEqual, clearAllMessages, ensureFileIsParsed, equals, getExecutor, getLog, getName, getRbelFileWriter, getRbelMessages, getRbelMessagesList, getTigerProxyConfiguration, hashCode, isShuttingDown, proxyName, readTrafficFromString, readTrafficFromTgrFile, removeRbelMessageListener, waitForRemoteTigerProxyToBeOnline
-
Field Details
-
WS_TRACING
- See Also:
-
WS_DATA
- See Also:
-
WS_ERRORS
- See Also:
-
-
Constructor Details
-
TigerRemoteProxyClient
-
TigerRemoteProxyClient
public TigerRemoteProxyClient(String remoteProxyUrl, de.gematik.test.tiger.common.data.config.tigerproxy.TigerProxyConfiguration configuration) -
TigerRemoteProxyClient
public TigerRemoteProxyClient(String remoteProxyUrl, de.gematik.test.tiger.common.data.config.tigerproxy.TigerProxyConfiguration configuration, @Nullable TigerProxy masterTigerProxy)
-
-
Method Details
-
connect
public void connect() -
addRoute
- Specified by:
addRoutein interfaceITigerProxy
-
removeRoute
- Specified by:
removeRoutein interfaceITigerProxy
-
clearAllRoutes
public void clearAllRoutes()- Specified by:
clearAllRoutesin interfaceITigerProxy- Overrides:
clearAllRoutesin classAbstractTigerProxy
-
getBaseUrl
- Specified by:
getBaseUrlin interfaceITigerProxy
-
getProxyPort
public int getProxyPort()- Specified by:
getProxyPortin interfaceITigerProxy
-
getRoutes
- Specified by:
getRoutesin interfaceITigerProxy
-
addModificaton
public de.gematik.test.tiger.common.config.RbelModificationDescription addModificaton(de.gematik.test.tiger.common.config.RbelModificationDescription modification) - Specified by:
addModificatonin interfaceITigerProxy
-
getModifications
- Specified by:
getModificationsin interfaceITigerProxy
-
removeModification
- Specified by:
removeModificationin interfaceITigerProxy
-
isTigerProxyMatching
- Overrides:
isTigerProxyMatchingin classAbstractTigerProxy
-
getRbelLogger
- Overrides:
getRbelLoggerin classAbstractTigerProxy
-
messageMatchesFilterCriterion
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
initOrUpdateMessagePart
-
triggerPartialMessageCleanup
public void triggerPartialMessageCleanup() -
isConnected
public boolean isConnected() -
triggerListener
- Overrides:
triggerListenerin classAbstractTigerProxy
-
addRbelMessageListener
- Specified by:
addRbelMessageListenerin interfaceITigerProxy- Overrides:
addRbelMessageListenerin classAbstractTigerProxy
-
propagateException
-
scheduleAfterMessage
-
signalNewCompletedMessage
-
waitForAllParsingTasksToBeFinished
public void waitForAllParsingTasksToBeFinished() -
getRemoteProxyUrl
-
getReceivedRemoteExceptions
-
getPartiallyReceivedMessageMap
-
getBinaryChunksBuffer
-
getTigerStompSessionHandler
public de.gematik.test.tiger.proxy.client.TigerStompSessionHandler getTigerStompSessionHandler() -
getMaximumPartialMessageAge
-
setMaximumPartialMessageAge
-
getLastMessageUuid
-
getMeshHandlerPool
-