com.ezprotocols.ezmulticast
Class EzMulticastDataInEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--com.ezprotocols.ezmulticast.EzMulticastDataInEvent
All Implemented Interfaces:
java.io.Serializable

public class EzMulticastDataInEvent
extends java.util.EventObject

Event object sent to all listeners when data is received. data contains the packet received.
hostPort represents the port of the remote group.
hostAddress represents the address of the remote group.
hostName represents the name of the remote group.

See Also:
Serialized Form

Field Summary
 byte[] data
          Data received from the multicast group.
 java.lang.String hostAddress
          IP Address of the data sender.
 java.lang.String hostName
          Name of the data sender.
 int hostPort
          Port of the remote group.
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
EzMulticastDataInEvent(EzMulticast source, byte[] data, int hostPort, java.lang.String hostAddress, java.lang.String hostName)
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

data

public byte[] data
Data received from the multicast group.

hostPort

public int hostPort
Port of the remote group.

hostAddress

public java.lang.String hostAddress
IP Address of the data sender.

hostName

public java.lang.String hostName
Name of the data sender.
Constructor Detail

EzMulticastDataInEvent

public EzMulticastDataInEvent(EzMulticast source,
                              byte[] data,
                              int hostPort,
                              java.lang.String hostAddress,
                              java.lang.String hostName)


Copyright © EzProtocols.com All Rights Reserved.