public class PushAPISession
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
opened |
protected PushAPI |
papi |
Constructor and Description |
---|
PushAPISession(PushAPI papi)
Build a new PushAPISession and start the session, if none was already
opened.
|
PushAPISession(PushAPI papi,
boolean start)
Build a new PushAPISession.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Close a pushAPI session, if opened.
|
void |
open()
Attempt to start a new pushAPI session if no session was yet opened.
|
protected final PushAPI papi
protected boolean opened
public PushAPISession(PushAPI papi) throws PushAPIException
PushAPIException
public PushAPISession(PushAPI papi, boolean start) throws PushAPIException
start
- if true, start the sessionPushAPIException
public void open() throws PushAPIException
PushAPIException
public void close() throws PushAPIException
PushAPIException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.