net.tomp2p.connection
Class MessageLogger
java.lang.Object
net.tomp2p.connection.MessageLogger
- All Implemented Interfaces:
- org.jboss.netty.channel.ChannelHandler, org.jboss.netty.channel.ChannelUpstreamHandler
@ChannelHandler.Sharable
public class MessageLogger
- extends Object
- implements org.jboss.netty.channel.ChannelUpstreamHandler
| Nested classes/interfaces inherited from interface org.jboss.netty.channel.ChannelHandler |
org.jboss.netty.channel.ChannelHandler.Sharable |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageLogger
public MessageLogger(File messageLogger)
throws FileNotFoundException,
IOException
- Throws:
FileNotFoundException
IOException
handleUpstream
public void handleUpstream(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelEvent e)
throws Exception
- Specified by:
handleUpstream in interface org.jboss.netty.channel.ChannelUpstreamHandler
- Throws:
Exception
customMessage
public void customMessage(String customMessage)
close
public void close()
Copyright © 2011. All Rights Reserved.