akka.remote.transport.netty
Interface UdpHandlers

All Superinterfaces:
CommonHandlers, NettyHelpers
All Known Implementing Classes:
UdpClientHandler, UdpServerHandler

public interface UdpHandlers
extends CommonHandlers

INTERNAL API


Method Summary
 AssociationHandle createHandle(org.jboss.netty.channel.Channel channel, Address localAddress, Address remoteAddress)
           
 void initUdp(org.jboss.netty.channel.Channel channel, java.net.SocketAddress remoteSocketAddress, org.jboss.netty.buffer.ChannelBuffer msg)
           
 void onMessage(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.MessageEvent e)
           
 void registerListener(org.jboss.netty.channel.Channel channel, AssociationHandle.HandleEventListener listener, org.jboss.netty.buffer.ChannelBuffer msg, java.net.InetSocketAddress remoteSocketAddress)
           
 
Methods inherited from interface akka.remote.transport.netty.CommonHandlers
init, onOpen, transport
 
Methods inherited from interface akka.remote.transport.netty.NettyHelpers
onConnect, onDisconnect, onException, transformException
 

Method Detail

createHandle

AssociationHandle createHandle(org.jboss.netty.channel.Channel channel,
                               Address localAddress,
                               Address remoteAddress)
Specified by:
createHandle in interface CommonHandlers

registerListener

void registerListener(org.jboss.netty.channel.Channel channel,
                      AssociationHandle.HandleEventListener listener,
                      org.jboss.netty.buffer.ChannelBuffer msg,
                      java.net.InetSocketAddress remoteSocketAddress)
Specified by:
registerListener in interface CommonHandlers

onMessage

void onMessage(org.jboss.netty.channel.ChannelHandlerContext ctx,
               org.jboss.netty.channel.MessageEvent e)
Specified by:
onMessage in interface NettyHelpers

initUdp

void initUdp(org.jboss.netty.channel.Channel channel,
             java.net.SocketAddress remoteSocketAddress,
             org.jboss.netty.buffer.ChannelBuffer msg)