|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opends.server.replication.protocol.ReplicationMessage
org.opends.server.replication.protocol.UpdateMessage
org.opends.server.replication.protocol.DeleteMsg
public class DeleteMsg
Object used when sending delete information to replication servers.
Constructor Summary | |
---|---|
DeleteMsg(byte[] in)
Creates a new Add message from a byte[]. |
|
DeleteMsg(PostOperationDeleteOperation operation)
Creates a new delete message. |
|
DeleteMsg(java.lang.String dn,
ChangeNumber changeNumber,
java.lang.String uid)
Creates a new delete message. |
Method Summary | |
---|---|
AbstractOperation |
createOperation(InternalClientConnection connection,
java.lang.String newDn)
Create and Operation from the message using the provided DN. |
byte[] |
getBytes()
Get the byte array representation of this Message. |
java.lang.String |
toString()
|
Methods inherited from class org.opends.server.replication.protocol.UpdateMessage |
---|
compareTo, createOperation, decodeHeader, encodeHeader, equals, generateMsg, getChangeNumber, getDn, getUniqueId, hashCode, isAssured, setAssured, setDn |
Methods inherited from class org.opends.server.replication.protocol.ReplicationMessage |
---|
addByteArray, generateMsg, getNextLength |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DeleteMsg(PostOperationDeleteOperation operation)
operation
- the Operation from which the message must be created.public DeleteMsg(java.lang.String dn, ChangeNumber changeNumber, java.lang.String uid)
dn
- The dn with which the message must be created.changeNumber
- The change number with which the message must be
created.uid
- The unique id with which the message must be created.public DeleteMsg(byte[] in) throws java.util.zip.DataFormatException, java.io.UnsupportedEncodingException
in
- The byte[] from which the operation must be read.
java.util.zip.DataFormatException
- The input byte[] is not a valid AddMsg
java.io.UnsupportedEncodingException
- If UTF8 is not supported by the jvmMethod Detail |
---|
public AbstractOperation createOperation(InternalClientConnection connection, java.lang.String newDn)
createOperation
in class UpdateMessage
connection
- connection to use when creating the message.newDn
- the DN to use when creating the operation.
public byte[] getBytes() throws java.io.UnsupportedEncodingException
getBytes
in class ReplicationMessage
java.io.UnsupportedEncodingException
- When the encoding of the message
failed because the UTF-8 encoding is not supported.public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |