public class GXInnerClientBaseObjectFactory extends Object
There are three acceptable protocols, which dictate different communication modes between the base object and the server.
GXClientBaseObjectFactory instead | Constructor and Description |
|---|
GXInnerClientBaseObjectFactory() |
| Modifier and Type | Method and Description |
|---|---|
static void |
detachSession(GXIReadOnlyBaseObject baseObject)
Detaches the given base object from ApplinX server.
|
static void |
endSession(GXEndSessionRequest endSessionRequest)
Ends a session on ApplinX server according to the given end session request.
|
static void |
endSession(GXIClientBaseObject baseObject)
Ends the session of the given base object.
|
static GXIClientBaseObject |
getBaseObject(GXAttachToSessionRequest attachRequest)
Creates a base object, and attaches it to an existing session on ApplinX server.
|
static GXIClientBaseObject |
getBaseObject(GXCreateSessionRequest connectRequest)
Creates a base object, and connects it to ApplinX server and the host.
|
static GXIReadOnlyBaseObject |
getReadOnlyBaseObject(GXAttachToSessionRequest attachRequest)
Creates a read-only base object, and attaches it to an existing session on
ApplinX server.
|
public static GXIClientBaseObject getBaseObject(GXCreateSessionRequest connectRequest) throws GXConnectionException, GXGeneralException
connectRequest - the connection parameters.GXConnectionException - when the connection to the host / ApplinX server
was not successful.GXGeneralException - other exception thrown in the process.public static GXIClientBaseObject getBaseObject(GXAttachToSessionRequest attachRequest) throws GXConnectionException, GXGeneralException
attachRequest - the connection parameters.GXConnectionException - when the connection to the host / ApplinX server
was not successful.GXGeneralException - other exception thrown in the process.public static GXIReadOnlyBaseObject getReadOnlyBaseObject(GXAttachToSessionRequest attachRequest) throws GXConnectionException, GXGeneralException
attachRequest - the connection parameters.GXConnectionException - when the connection to ApplinX server
was not successful.GXGeneralException - other exception thrown in the process.public static void detachSession(GXIReadOnlyBaseObject baseObject) throws GXGeneralException, GXConnectionException
GXConnectionException - when the connection to the host / ApplinX server
was not successful.GXGeneralException - other exception thrown in the process.public static void endSession(GXIClientBaseObject baseObject) throws GXGeneralException, GXConnectionException
baseObject - the session object.GXConnectionException - when the connection to the host / ApplinX server
was not successful.GXGeneralException - other exception thrown in the process.public static void endSession(GXEndSessionRequest endSessionRequest) throws GXGeneralException, GXConnectionException
endSessionRequest - the session parameters.GXConnectionException - when the connection to the host / ApplinX server
was not successful.GXGeneralException - other exception thrown in the process.Copyright 2022 Software AG. All rights reserved. Use is subject to license terms.