public interface OutgoingServerSession extends ServerSession
Once the connection has been established with the remote server and at least a domain has been authenticated then a new route will be added to the routing table for this connection. For optimization reasons the same outgoing connection will be used even if the remote server has several hostnames. However, different routes will be created in the routing table for each hostname of the remote server.
MAJOR_VERSION, MINOR_VERSION, STATUS_AUTHENTICATED, STATUS_CLOSED, STATUS_CONNECTED
Modifier and Type | Method and Description |
---|---|
void |
addOutgoingDomainPair(String local,
String remote)
Marks a domain pair as being authenticated.
|
boolean |
authenticateSubdomain(String domain,
String hostname)
Authenticates a subdomain of this server with the specified remote server over an exsiting
outgoing connection.
|
boolean |
checkOutgoingDomainPair(String local,
String remote)
Checks to see if a pair of domains has previously been authenticated.
|
Collection<DomainPair> |
getOutgoingDomainPairs()
Obtains all authenticated domain pairs.
|
isUsingServerDialback
close, deliverRawText, getAddress, getCipherSuiteName, getCreationDate, getHostAddress, getHostName, getLanguage, getLastActiveDate, getNumClientPackets, getNumServerPackets, getPeerCertificates, getServerName, getStatus, getStreamID, isClosed, isSecure, process, validate
boolean authenticateSubdomain(String domain, String hostname)
domain
- the locally domain to authenticate with the remote server.hostname
- the domain of the remote server.boolean checkOutgoingDomainPair(String local, String remote)
local
- the local domain (previously: authenticated domain)remote
- the remote domain (previous: hostname)void addOutgoingDomainPair(String local, String remote)
local
- the locally hosted domain.remote
- the remote domain.Collection<DomainPair> getOutgoingDomainPairs()
Copyright © 2003-2008 Jive Software.