public class ExternalSessionFactory extends Object implements SessionFactory
Modifier and Type | Field and Description |
---|---|
protected InetSocketAddress |
address |
static String |
IMAP_SHABANG |
protected Monitor |
monitor |
protected String |
shabang |
Constructor and Description |
---|
ExternalSessionFactory(InetSocketAddress address,
Monitor monitor,
String shabang) |
ExternalSessionFactory(Monitor monitor,
String shabang) |
ExternalSessionFactory(String host,
int port,
Monitor monitor,
String shabang) |
Modifier and Type | Method and Description |
---|---|
protected InetSocketAddress |
getAddress() |
Session |
newSession(Continuation continuation)
Creates a new session for functional testing.
|
String |
toString()
Constructs a
String with all attributes
in name = value format. |
public static final String IMAP_SHABANG
protected final InetSocketAddress address
public ExternalSessionFactory(Monitor monitor, String shabang)
public ExternalSessionFactory(String host, int port, Monitor monitor, String shabang)
public ExternalSessionFactory(InetSocketAddress address, Monitor monitor, String shabang)
public Session newSession(Continuation continuation) throws Exception
SessionFactory
newSession
in interface SessionFactory
Session
, not nullException
protected InetSocketAddress getAddress()
Copyright © 2008-2017 The Apache Software Foundation. All Rights Reserved.