akka.io
Class Udp.Received

java.lang.Object
  extended by akka.io.Udp.Received
All Implemented Interfaces:
Udp.Event, Udp.Message, java.io.Serializable, scala.Equals, scala.Product
Enclosing class:
Udp

public static class Udp.Received
extends java.lang.Object
implements Udp.Event, scala.Product, scala.Serializable

When a listener actor receives a datagram from its socket it will send it to the handler designated in the Udp.Bind message using this message type.

See Also:
Serialized Form

Constructor Summary
Udp.Received(ByteString data, java.net.InetSocketAddress sender)
           
 
Method Summary
 ByteString data()
           
 java.net.InetSocketAddress sender()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
 
Methods inherited from interface scala.Equals
canEqual, equals
 

Constructor Detail

Udp.Received

public Udp.Received(ByteString data,
                    java.net.InetSocketAddress sender)
Method Detail

data

public ByteString data()

sender

public java.net.InetSocketAddress sender()