fabric.messages
Class UnauthenticatedAbortTransactionMessage
java.lang.Object
fabric.messages.Message<RemoteStore,UnauthenticatedAbortTransactionMessage.Response>
fabric.messages.UnauthenticatedAbortTransactionMessage
public class UnauthenticatedAbortTransactionMessage
- extends Message<RemoteStore,UnauthenticatedAbortTransactionMessage.Response>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tid
public final TransactionID tid
- The tid for the transaction that is aborting.
UnauthenticatedAbortTransactionMessage
public UnauthenticatedAbortTransactionMessage(TransactionID tid)
UnauthenticatedAbortTransactionMessage
protected UnauthenticatedAbortTransactionMessage(java.io.DataInput in)
throws java.io.IOException
- Deserialization constructor.
- Throws:
java.io.IOException
dispatch
public UnauthenticatedAbortTransactionMessage.Response dispatch(MessageHandlerThread w)
throws AccessException
- Description copied from class:
Message
- Calls the appropriate
handle(...)
method on the handler.
- Overrides:
dispatch
in class Message<RemoteStore,UnauthenticatedAbortTransactionMessage.Response>
- Returns:
- the result computed by the handler
- Throws:
AccessException
send
public UnauthenticatedAbortTransactionMessage.Response send(RemoteStore store)
response
public UnauthenticatedAbortTransactionMessage.Response response(RemoteStore store,
java.io.DataInput in)
- Description copied from class:
Message
- Creates a Response message of the appropriate type using the provided input
stream.
- Specified by:
response
in class Message<RemoteStore,UnauthenticatedAbortTransactionMessage.Response>
- Parameters:
store
- the remote node from which the response originated.in
- Input stream containing the message.
- Returns:
- A Response message with the appropriate type.
write
public void write(java.io.DataOutput out)
throws java.io.IOException
- Description copied from class:
Message
- Writes this message out on the given output stream. Only used by the
worker.
- Specified by:
write
in class Message<RemoteStore,UnauthenticatedAbortTransactionMessage.Response>
- Throws:
java.io.IOException
- if the output stream throws an IOException.