public class GuestSessionPoolImpl extends GuestSessionPool
Constructor and Description |
---|
GuestSessionPoolImpl()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
disposeImpl()
Dispose the pool.
|
FdkSession |
getGuestSession()
Gets a guest session.
|
void |
releaseGuestSession(FdkSession sess)
Indicate that you're done with a guest session.
|
getInstance
public void disposeImpl()
public FdkSession getGuestSession() throws FdkException
GuestSessionPool
getGuestSession
in class GuestSessionPool
FdkException
- if unable to allocate a new sessionpublic void releaseGuestSession(FdkSession sess)
GuestSessionPool
releaseGuestSession
in class GuestSessionPool
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.