Package io.aeron.archive.client
Interface RecordingEventsListener
public interface RecordingEventsListener
Event listener for observing the status of recordings for an Archive.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonProgress(long recordingId, long startPosition, long position) Progress indication of an active recording.voidonStart(long recordingId, long startPosition, int sessionId, int streamId, String channel, String sourceIdentity) Fired when a recording is started.voidonStop(long recordingId, long startPosition, long stopPosition) Fired when a recording is stopped.
-
Method Details
-
onStart
void onStart(long recordingId, long startPosition, int sessionId, int streamId, String channel, String sourceIdentity) Fired when a recording is started.- Parameters:
recordingId- assigned to the new recording.startPosition- in the stream at which the recording started.sessionId- of the publication being recorded.streamId- of the publication being recorded.channel- of the publication being recorded.sourceIdentity- of the publication being recorded.
-
onProgress
void onProgress(long recordingId, long startPosition, long position) Progress indication of an active recording.- Parameters:
recordingId- for which progress is being reported.startPosition- in the stream at which the recording started.position- reached in recording the publication.
-
onStop
void onStop(long recordingId, long startPosition, long stopPosition) Fired when a recording is stopped.- Parameters:
recordingId- of the publication that has stopped recording.startPosition- in the stream at which the recording started.stopPosition- at which the recording stopped.
-