public abstract class GuestSessionPool extends Object
Constructor and Description |
---|
GuestSessionPool() |
Modifier and Type | Method and Description |
---|---|
abstract FdkSession |
getGuestSession()
Gets a guest session.
|
static GuestSessionPool |
getInstance()
Singleton method.
|
abstract void |
releaseGuestSession(FdkSession sess)
Indicate that you're done with a guest session.
|
public static GuestSessionPool getInstance() throws FdkException
FdkException
public abstract FdkSession getGuestSession() throws FdkException
FdkException
- if unable to allocate a new sessionpublic abstract void releaseGuestSession(FdkSession sess)
sess
- the session one is done with; must be a session originally
acquired with getGuestSession. Do not call disconnection on this
session before you call this method. Or after, for that matter.Copyright © 2023. All rights reserved.