|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.rfid.premises.app.access.PremisesContext
#SensorEventsAPIContext
@Deprecated public class PremisesContext
Method Summary | |
---|---|
static ALEAccess |
getALEAccess()
Deprecated. |
static ALEAccess |
getALEAccess(java.lang.String hostname,
java.lang.String alePort)
Deprecated. |
static java.lang.String |
getAlePort()
Deprecated. get port used for ALE web service access (default: 9080). |
static java.lang.String |
getHostname()
Deprecated. |
static java.lang.String |
getPort()
Deprecated. get port used for web service access (default: 9080). |
static PremisesAccess |
getPremisesAccess()
Deprecated. This assumes the hostname has been set using the method setHostname(String). |
static PremisesAccess |
getPremisesAccess(java.lang.String hostname)
Deprecated. |
static PremisesAccess |
getPremisesAccess(java.lang.String hostname,
java.lang.String port)
Deprecated. |
static PremisesAccess |
getPremisesAccess(java.lang.String hostname,
java.lang.String port,
java.lang.String alePort)
Deprecated. |
static void |
setAlePort(java.lang.String port)
Deprecated. set port used for ALE web service access (default: 9080) |
static void |
setHostname(java.lang.String hostname)
Deprecated. This function is only needed if you are intending to access the IBM WebSphere Sensor Events Server APIs remotely. |
static void |
setPort(java.lang.String port)
Deprecated. set port used for web service access (default: 9080) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void setHostname(java.lang.String hostname)
An example of a hostname String needed for accessing a IBM WebSphere Sensor Events Server at IP address 192.168.1.1 with hostname wse.server.ibm.com would be "192.168.1.1" or "wse.server.ibm.com".
hostname
- the hostname of a remote IBM WebSphere Sensor Events Server
installation needed to access the IBM WebSphere Sensor Events Web Service interface.public static java.lang.String getHostname()
setHostname(String)
public static PremisesAccess getPremisesAccess(java.lang.String hostname)
hostname
- is the hostname of the local or remote IBM WebSphere Sensor Events
Server installation. If this API call is being made on the machine
that the IBM WebSphere Sensor Events Server is installed on, it will return a
PremisesAccessLocal singleton. If on a different machine, a
PremisesAccessRemote singleton will be returned and default web service port (9080)
will be used.
PremisesAccess
,
getPremisesAccess(String, String)
,
PremisesAccessRemote
,
PremisesAccessLocal
,
setHostname(String)
public static PremisesAccess getPremisesAccess(java.lang.String hostname, java.lang.String port)
hostname
- is the hostname of the local or remote IBM WebSphere Sensor Events
Server installation. If this API call is being made on the machine
that the IBM WebSphere Sensor Events Server is installed on, it will return a
PremisesAccessLocal singleton. If on a different machine, a
PremisesAccessRemote singleton will be returned.port
- is the port to be used to make a web services (remote) call
to both IBM WebSphere Sensor Events Server base APIs and ALE APIs. If ALE uses a
different port use getPremisesAccess(String, String, String)
.
If port is null or empty, default of 9080 will be used.
PremisesAccess
,
PremisesAccessRemote
,
PremisesAccessLocal
,
setHostname(String)
public static PremisesAccess getPremisesAccess(java.lang.String hostname, java.lang.String port, java.lang.String alePort)
hostname
- is the hostname of the local or remote IBM WebSphere Sensor Events
Server installation. If this API call is being made on the machine
that the IBM WebSphere Sensor Events Server is installed on, it will return a
PremisesAccessLocal singleton. If on a different machine, a
PremisesAccessRemote singleton will be returned.port
- is the port to be used to make a web services (remote) call
to IBM WebSphere Sensor Events Server base APIsalePort
- is the port to be used to make a web services (remote) call
to IBM WebSphere Sensor Events Server ALE APIs
public static PremisesAccess getPremisesAccess()
PremisesAccessException
exceptions unless in a "local"
environment.
getPremisesAccess(String)
,
setHostname(String)
public static ALEAccess getALEAccess(java.lang.String hostname, java.lang.String alePort)
hostname
- hostname of the IBM WebSphere Sensor Events ServeralePort
- port Ale is to use for triggers
public static ALEAccess getALEAccess()
public static java.lang.String getPort()
public static void setPort(java.lang.String port)
port
- port to be setpublic static java.lang.String getAlePort()
public static void setAlePort(java.lang.String port)
port
- port to be set
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |