com.hazelcast.wan
Class WanReplicationEvent

java.lang.Object
  extended by com.hazelcast.wan.WanReplicationEvent
All Implemented Interfaces:
DataSerializable

public class WanReplicationEvent
extends Object
implements DataSerializable

Event class used to transmit the actual event object


Constructor Summary
WanReplicationEvent()
           
WanReplicationEvent(String serviceName, ReplicationEventObject eventObject)
           
 
Method Summary
 Object getEventObject()
           
 String getServiceName()
           
 void readData(ObjectDataInput in)
          Reads fields from the input stream
 void setEventObject(ReplicationEventObject eventObject)
           
 void setServiceName(String serviceName)
           
 void writeData(ObjectDataOutput out)
          Writes object fields to output stream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WanReplicationEvent

public WanReplicationEvent()

WanReplicationEvent

public WanReplicationEvent(String serviceName,
                           ReplicationEventObject eventObject)
Method Detail

getServiceName

public String getServiceName()

setServiceName

public void setServiceName(String serviceName)

getEventObject

public Object getEventObject()

setEventObject

public void setEventObject(ReplicationEventObject eventObject)

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


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