anon
Class AnonServiceFactory

java.lang.Object
  extended by anon.AnonServiceFactory

public final class AnonServiceFactory
extends java.lang.Object


Field Summary
private static AnonService ms_AnonService
           
static java.lang.String SERVICE_ANON
           
static java.lang.String SERVICE_MIXMINION
           
static java.lang.String SERVICE_TOR
           
 
Constructor Summary
private AnonServiceFactory()
           
 
Method Summary
static AnonService create(java.lang.String addr, int port)
           
static AnonService getAnonServiceInstance(java.lang.String kind)
          Creates an AnonService of the given kind.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SERVICE_ANON

public static final java.lang.String SERVICE_ANON
See Also:
Constant Field Values

SERVICE_TOR

public static final java.lang.String SERVICE_TOR
See Also:
Constant Field Values

SERVICE_MIXMINION

public static final java.lang.String SERVICE_MIXMINION
See Also:
Constant Field Values

ms_AnonService

private static AnonService ms_AnonService
Constructor Detail

AnonServiceFactory

private AnonServiceFactory()
Method Detail

getAnonServiceInstance

public static AnonService getAnonServiceInstance(java.lang.String kind)
Creates an AnonService of the given kind. At the moment the following values are defined: "AN.ON" -- creates an AnonService which uses the WebMix cascades "TOR" -- creates an AnonService which uses Tor nodes "Mixminion" -- creates an AnonService which uses Mixminion nodes


create

public static AnonService create(java.lang.String addr,
                                 int port)