public class FileLogger extends java.lang.Object implements MultipartyNegotiationEventListener, java.io.Closeable
Constructor and Description |
---|
FileLogger(java.lang.String fileName) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
handleLogMessageEvent(LogMessageEvent evt) |
void |
handleMultipartyNegotiationEvent(MultipartyNegotiationSessionEvent evt) |
void |
handleOfferActionEvent(MultipartyNegotiationOfferEvent evt)
IMPORTANT:
in handleEvent, do not more than just storing the event and
notifying your interface that a new event has arrived.
|
public FileLogger(java.lang.String fileName) throws java.io.FileNotFoundException
java.io.FileNotFoundException
public void handleOfferActionEvent(MultipartyNegotiationOfferEvent evt)
MultipartyNegotiationEventListener
handleOfferActionEvent
in interface MultipartyNegotiationEventListener
public void handleLogMessageEvent(LogMessageEvent evt)
handleLogMessageEvent
in interface MultipartyNegotiationEventListener
public void handleMultipartyNegotiationEvent(MultipartyNegotiationSessionEvent evt)
handleMultipartyNegotiationEvent
in interface MultipartyNegotiationEventListener
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
java.io.IOException