public class PersistentSafeguardA2AEventListener extends PersistentSafeguardEventListenerBase
| Constructor and Description |
|---|
PersistentSafeguardA2AEventListener(ISafeguardA2AContext a2AContext,
char[] apiKey,
ISafeguardEventHandler handler) |
PersistentSafeguardA2AEventListener(ISafeguardA2AContext a2AContext,
List<char[]> apiKeys,
ISafeguardEventHandler handler) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Disposes of the connection.
|
protected void |
finalize() |
SafeguardEventListener |
reconnectEventListener() |
isStarted, registerEventHandler, start, stoppublic PersistentSafeguardA2AEventListener(ISafeguardA2AContext a2AContext, char[] apiKey, ISafeguardEventHandler handler) throws ObjectDisposedException, ArgumentException
public PersistentSafeguardA2AEventListener(ISafeguardA2AContext a2AContext, List<char[]> apiKeys, ISafeguardEventHandler handler) throws ArgumentException, ObjectDisposedException
public SafeguardEventListener reconnectEventListener() throws ObjectDisposedException, ArgumentException
reconnectEventListener in class PersistentSafeguardEventListenerBaseObjectDisposedExceptionArgumentExceptionpublic void dispose()
ISafeguardEventListenerdispose in interface ISafeguardEventListenerdispose in class PersistentSafeguardEventListenerBaseprotected void finalize()
throws Throwable
finalize in class PersistentSafeguardEventListenerBaseThrowableCopyright © 2019. All rights reserved.