Plumtree EDK (Enterprise Web Development Kit) 5.4.0

IRemoteSession Interface

An interface that represents a PRC connection to the Plumtree portal. An IRemoteSession contains information about the current connection and provides access to object managers that allow the client to query and manipulate a Plumtree server's state.

To create an IRemoteSession interface use RemoteSessionFactory. Portlets automatically receive the WS Portal (ptapi) SOAP endpoint URL from the portal and can use IPortletContextGetRemotePortalSession to create an IRemoteSession.

The PRC remote APIs for the portal, Search Server, Collaboration Server, and Content Server all require a WS server and a SOAP endpoint URL. The portal and Search Server can be accessed through WS Portal (ptapi).

Collaboration Server and Content Server each have intrinsic WS servers to provide PRC remote API access. The endpoints for these intrinsic WS servers should never be used directly. All PRC requests should use the WS Portal (ptapi) endpoint first and will be redirected as needed to Collaboration or Content.

To access Collaboration Server and Content Server remote APIs, first obtain an IRemoteSession and then retrieve the corresponding ICollaborationFactory or IContentFactory from the session. No separate Collaboration session or Content session is needed to access the Collaboration or Content Server remote APIs. Individual Collaboration or Content object managers can thus be retrieved using the ICollaborationFactory or IContentFactory.

For portal and Search Server remote APIs, a portal object manager or ISearchFactory can be retrieved directly from an IRemoteSession.

For a list of all members of this type, see IRemoteSession Members.

public interface IRemoteSession

Types that implement IRemoteSession

TypeDescription
RemoteSessionWrapper This class is intended for internal use by Portlet API only.

Requirements

Namespace: Plumtree.Remote.PRC

Assembly: edk (in edk.dll)

See Also

IRemoteSession Members | Plumtree.Remote.PRC Namespace