org.sourceid.saml20.service
Class ArtifactPersistenceService.Handle

java.lang.Object
  extended by org.sourceid.saml20.service.ArtifactPersistenceService.Handle
All Implemented Interfaces:
java.io.Serializable
Enclosing interface:
ArtifactPersistenceService

public static class ArtifactPersistenceService.Handle
extends java.lang.Object
implements java.io.Serializable

A handle (or reference, or pointer) to a protocol message.

See Also:
Serialized Form

Constructor Summary
ArtifactPersistenceService.Handle(byte[] messageHandle)
          Equivalent to calling ArtifactPersistenceService.Handle with a value of 0 for the endpointIndex.
ArtifactPersistenceService.Handle(byte[] messageHandle, int endpointIndex)
          Creates a new message handle.
 
Method Summary
 int getEndpointIndex()
          Gets the endpointIndex.
 byte[] getMessageHandle()
          Gets the message handle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArtifactPersistenceService.Handle

public ArtifactPersistenceService.Handle(byte[] messageHandle)
Equivalent to calling ArtifactPersistenceService.Handle with a value of 0 for the endpointIndex.

Parameters:
messageHandle - the 20 bytes that are a unique reference to the protocol message.

ArtifactPersistenceService.Handle

public ArtifactPersistenceService.Handle(byte[] messageHandle,
                                         int endpointIndex)
Creates a new message handle.

Parameters:
messageHandle - the 20 bytes that are a unique reference to the protocol message.
endpointIndex - the endpointIndex.
Method Detail

getMessageHandle

public byte[] getMessageHandle()
Gets the message handle.

Returns:
the message handle.

getEndpointIndex

public int getEndpointIndex()
Gets the endpointIndex.

Returns:
the endpointIndex.


Copyright 2007 Ping Identity Corp. All rights reserved.