com.oracle.coherence.patterns.command.internal
Class SubmissionOutcome

java.lang.Object
  extended by com.oracle.coherence.patterns.command.internal.SubmissionOutcome
All Implemented Interfaces:
com.tangosol.io.ExternalizableLite, com.tangosol.io.pof.PortableObject, Serializable
Direct Known Subclasses:
SubmissionOutcome.Accepted, SubmissionOutcome.UnknownContext

public abstract class SubmissionOutcome
extends Object
implements com.tangosol.io.ExternalizableLite, com.tangosol.io.pof.PortableObject

A SubmissionOutcome represents the result of an attempt to submit a Command to a Context (via a CommandExecutor using a CommandExecutionRequest).

Copyright (c) 2008. All Rights Reserved. Oracle Corporation.
Oracle is a registered trademark of Oracle Corporation and/or its affiliates.

Author:
Brian Oliver
See Also:
SubmitCommandExecutionRequestProcessor, Serialized Form

Nested Class Summary
static class SubmissionOutcome.Accepted
          An SubmissionOutcome.Accepted SubmissionOutcome represents that a Command has been successfully submitted to a Context and is awaiting execution by a CommandExecutor.
static class SubmissionOutcome.UnknownContext
          An SubmissionOutcome.UnknownContext SubmissionOutcome represents that a Command has failed being submitted to a Context as the said Context does not exist.
 
Constructor Summary
SubmissionOutcome()
          Required for ExternalizableLite and PortableObject.
 
Method Summary
 void readExternal(DataInput in)
          
 void readExternal(com.tangosol.io.pof.PofReader reader)
          
 void writeExternal(DataOutput out)
          
 void writeExternal(com.tangosol.io.pof.PofWriter writer)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubmissionOutcome

public SubmissionOutcome()
Required for ExternalizableLite and PortableObject.

Method Detail

readExternal

public void readExternal(DataInput in)
                  throws IOException

Specified by:
readExternal in interface com.tangosol.io.ExternalizableLite
Throws:
IOException

writeExternal

public void writeExternal(DataOutput out)
                   throws IOException

Specified by:
writeExternal in interface com.tangosol.io.ExternalizableLite
Throws:
IOException

readExternal

public void readExternal(com.tangosol.io.pof.PofReader reader)
                  throws IOException

Specified by:
readExternal in interface com.tangosol.io.pof.PortableObject
Throws:
IOException

writeExternal

public void writeExternal(com.tangosol.io.pof.PofWriter writer)
                   throws IOException

Specified by:
writeExternal in interface com.tangosol.io.pof.PortableObject
Throws:
IOException


Copyright © 2016. All rights reserved.