public void run() {
        super.run();
        if (operation == Operation.getOutgoingDomainPairs) {
            result = ((OutgoingServerSession) getSession()).getOutgoingDomainPairs();
        }
        else if (operation == Operation.getAuthenticationMethod) {
            result = ((OutgoingServerSession) getSession()).getAuthenticationMethod();
        }
    }
Class that defines possible remote operations that could be performed
on remote outgoing server sessions.

@author Gaston Dombiak
xmppserver/src/main/java/org/jivesoftware/openfire/session/OutgoingServerSessionTask.java