net.jini.jeri.ssl
Class SslEndpointImpl.ComparableConnectionContext

java.lang.Object
  extended by net.jini.jeri.ssl.SslEndpointImpl.ComparableConnectionContext
All Implemented Interfaces:
Comparable
Enclosing class:
SslEndpointImpl

private static final class SslEndpointImpl.ComparableConnectionContext
extends Object
implements Comparable

Used for sorting ConnectionContexts by preferences and suite order.


Field Summary
(package private)  ConnectionContext context
           
private  int suiteIndex
           
 
Constructor Summary
SslEndpointImpl.ComparableConnectionContext(ConnectionContext context, int suiteIndex)
           
 
Method Summary
 int compareTo(Object object)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

context

final ConnectionContext context

suiteIndex

private final int suiteIndex
Constructor Detail

SslEndpointImpl.ComparableConnectionContext

SslEndpointImpl.ComparableConnectionContext(ConnectionContext context,
                                            int suiteIndex)
Method Detail

compareTo

public int compareTo(Object object)
Specified by:
compareTo in interface Comparable

toString

public String toString()
Overrides:
toString in class Object


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.