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 |
handleEvent(NegotiationEvent e)
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 close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
java.io.IOException
public void handleEvent(NegotiationEvent e)
MultipartyNegotiationEventListener
handleEvent
in interface MultipartyNegotiationEventListener