Class RecorderEventHandlerJSONImpl
- java.lang.Object
-
- org.jitsi.impl.neomedia.recording.RecorderEventHandlerJSONImpl
-
- All Implemented Interfaces:
RecorderEventHandler
public class RecorderEventHandlerJSONImpl extends Object implements RecorderEventHandler
Implements a RecorderEventHandler which handles RecorderEvents by writing them to a file in JSON format.- Author:
- Boris Grozev
-
-
Constructor Summary
Constructors Constructor Description RecorderEventHandlerJSONImpl(String filename)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Closes the RecorderEventHandler.booleanhandleEvent(RecorderEvent ev)Handle a specific RecorderEvent
-
-
-
Constructor Detail
-
RecorderEventHandlerJSONImpl
public RecorderEventHandlerJSONImpl(String filename) throws IOException
- Throws:
IOException
-
-
Method Detail
-
handleEvent
public boolean handleEvent(RecorderEvent ev)
Handle a specific RecorderEvent- Specified by:
handleEventin interfaceRecorderEventHandler- Parameters:
ev- the event to handle.- Returns:
-
close
public void close()
Closes the RecorderEventHandler.- Specified by:
closein interfaceRecorderEventHandler
-
-