Package com.swiftmq.tools.versioning
Class VersionNotification
java.lang.Object
com.swiftmq.tools.versioning.VersionNotification
- All Implemented Interfaces:
Dumpable
,VersionObject
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(VersionVisitor visitor) int[]
int
Returns a unique dump id for this object.void
readContent
(DataInput in) Read the content of this object from the stream.toString()
void
writeContent
(DataOutput out) Write the content of this object to the stream.
-
Constructor Details
-
VersionNotification
-
VersionNotification
public VersionNotification()
-
-
Method Details
-
getDumpId
public int getDumpId()Description copied from interface:Dumpable
Returns a unique dump id for this object. -
writeContent
Description copied from interface:Dumpable
Write the content of this object to the stream.- Specified by:
writeContent
in interfaceDumpable
- Parameters:
out
- output stream- Throws:
IOException
- if an error occurs
-
readContent
Description copied from interface:Dumpable
Read the content of this object from the stream.- Specified by:
readContent
in interfaceDumpable
- Parameters:
in
- input stream- Throws:
IOException
- if an error occurs
-
getIdentifier
-
getAcceptedVersions
public int[] getAcceptedVersions() -
accept
- Specified by:
accept
in interfaceVersionObject
-
toString
-