public class GXClientBaseObjectFactory extends Object implements GXIBaseObjectFetcher
Constructor and Description |
---|
GXClientBaseObjectFactory() |
public GXIClientBaseObject createBaseObject(GXCreateSessionRequest connectRequest) throws GXConnectionException, GXGeneralException
createBaseObject
in interface GXIBaseObjectFetcher
GXConnectionException
GXGeneralException
public GXIClientBaseObject createBaseObject(GXCreateSessionRequest connectRequest, long timeoutInMS) throws GXGeneralException
createBaseObject
in interface GXIBaseObjectFetcher
GXGeneralException
public static GXIClientBaseObject getBaseObject(GXCreateSessionRequest connectRequest) throws GXConnectionException, GXGeneralException
public static GXIClientBaseObject getBaseObject(GXCreateSessionRequest connectRequest, long timeoutInMS) throws GXConnectionException, GXGeneralException, InterruptedException, ExecutionException, TimeoutException
public static GXIClientBaseObject getBaseObject(GXAttachToSessionRequest attachRequest) throws GXConnectionException, GXGeneralException
public static GXIReadOnlyBaseObject getReadOnlyBaseObject(GXAttachToSessionRequest attachRequest) throws GXConnectionException, GXGeneralException
public static void detachSession(GXIReadOnlyBaseObject baseObject) throws GXGeneralException, GXConnectionException
public void closeSession(GXIClientBaseObject baseObject) throws GXConnectionException, GXGeneralException
closeSession
in interface GXIBaseObjectFetcher
GXConnectionException
GXGeneralException
public static void endSession(GXIClientBaseObject baseObject) throws GXGeneralException, GXConnectionException
public static void endSession(GXEndSessionRequest endSessionRequest) throws GXGeneralException, GXConnectionException
public GXIReadOnlyBaseObject fetch(GXAttachToSessionRequest attachRequest)
fetch
in interface GXIBaseObjectFetcher
Copyright 2021 Software AG. All rights reserved. Use is subject to license terms.