Class LocalComponentSession.LocalExternalComponent

  • All Implemented Interfaces:
    ComponentSession.ExternalComponent, org.xmpp.component.Component
    Enclosing class:
    LocalComponentSession

    public static class LocalComponentSession.LocalExternalComponent
    extends Object
    implements ComponentSession.ExternalComponent
    The ExternalComponent acts as a proxy of the remote connected component. Any Packet that is sent to this component will be delivered to the real component on the other side of the connection.

    An ExternalComponent will be added as a route in the RoutingTable for each connected external component. This implies that when the server receives a packet whose domain matches the external component services address then a route to the external component will be used and the packet will be forwarded to the component on the other side of the connection.

    Author:
    Gaston Dombiak