com.hazelcast.spi.impl
Class DistributedObjectEventPacket

java.lang.Object
  extended by com.hazelcast.spi.impl.DistributedObjectEventPacket
All Implemented Interfaces:
DataSerializable

public final class DistributedObjectEventPacket
extends Object
implements DataSerializable


Constructor Summary
DistributedObjectEventPacket()
           
DistributedObjectEventPacket(DistributedObjectEvent.EventType eventType, String serviceName, String name)
           
 
Method Summary
 DistributedObjectEvent.EventType getEventType()
           
 String getName()
           
 String getServiceName()
           
 void readData(ObjectDataInput in)
          Reads fields from the input stream
 String toString()
           
 void writeData(ObjectDataOutput out)
          Writes object fields to output stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DistributedObjectEventPacket

public DistributedObjectEventPacket()

DistributedObjectEventPacket

public DistributedObjectEventPacket(DistributedObjectEvent.EventType eventType,
                                    String serviceName,
                                    String name)
Method Detail

getServiceName

public String getServiceName()

getEventType

public DistributedObjectEvent.EventType getEventType()

getName

public String getName()

writeData

public void writeData(ObjectDataOutput out)
               throws IOException
Description copied from interface: DataSerializable
Writes object fields to output stream

Specified by:
writeData in interface DataSerializable
Parameters:
out - output
Throws:
IOException

readData

public void readData(ObjectDataInput in)
              throws IOException
Description copied from interface: DataSerializable
Reads fields from the input stream

Specified by:
readData in interface DataSerializable
Parameters:
in - input
Throws:
IOException

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.