public abstract class ApiProxyBase extends Object implements ApiProxyI
AR_JNI_RPC, AR_JRPC, CMDB_JRPC, RPC_NONE
Modifier and Type | Method and Description |
---|---|
abstract void |
ARSetServerPort(ApiUserContextI ctx,
int port,
int progNum)
Specifies the port that your program will use to
communicate with the AR System server, and whether to use a private server.
|
abstract void |
ARSetSessionConfiguration(ApiUserContextI ctx,
int tag,
ApiValueBase value)
Allows session variables to be set.
|
abstract long |
ARTermination(ApiUserContextI ctx)
Performs environment-specific cleanup routines and
disconnects from the specified Action Request System session.
|
long |
getEstablishTime()
get the system time this proxy is established
|
long |
getLastUsed()
get last used system time for this proxy.
|
Object |
getSocket(ApiUserContextI context) |
void |
setEstablishTime(long m_establishTime)
set the system time this proxy is established
|
void |
setLastUsed(long tm)
set last used system time for this proxy.
|
void |
setProxyProperties(ApiUserContextI context) |
void |
setSocket(ApiUserContextI context,
Object so) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
ARVerifyUser
public void setProxyProperties(ApiUserContextI context) throws ARException
setProxyProperties
in interface ApiProxyI
ARException
public void setLastUsed(long tm)
setLastUsed
in interface ApiProxyI
public long getLastUsed()
getLastUsed
in interface ApiProxyI
public void setEstablishTime(long m_establishTime)
m_establishTime
- public long getEstablishTime()
getEstablishTime
in interface ApiProxyI
public abstract void ARSetSessionConfiguration(ApiUserContextI ctx, int tag, ApiValueBase value) throws ARException
ApiProxyI
ARSetSessionConfiguration
in interface ApiProxyI
ARException
- if variables are not setpublic abstract void ARSetServerPort(ApiUserContextI ctx, int port, int progNum) throws ARException
ApiProxyI
ARSetServerPort
in interface ApiProxyI
ARException
- if port is not specifiedpublic abstract long ARTermination(ApiUserContextI ctx) throws ARException
ApiProxyI
ARTermination
in interface ApiProxyI
ARException
- if routines are not performedpublic Object getSocket(ApiUserContextI context) throws ARException
ARException
public void setSocket(ApiUserContextI context, Object so) throws ARException
ARException
? Copyright 2013 BMC Software, Inc.