|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
@SASScope(value="ALL") @BinaryCompatibilityOnly public interface EventInterface
This interface represents an event
that can be sent to an EventBroker service.
| Field Summary | |
|---|---|
static java.lang.String |
ACK
Deprecated. Response type: ack |
static java.lang.String |
NONE
Deprecated. Response type: none |
static java.lang.String |
RESULT
Deprecated. Response type: result |
static int |
SERIALIZE_FORMAT_DOCUMENT
Deprecated. Serialize format: document |
static int |
SERIALIZE_FORMAT_STRING
Deprecated. Serialize format: string |
| Method Summary | |
|---|---|
abstract java.lang.Object |
getBody()
Deprecated. Get body of this event. |
abstract java.lang.String |
getCredentialsDomain()
Deprecated. Get authentication domain associated with this event sender's credentials. |
abstract java.lang.String |
getCredentialsName()
Deprecated. Get credentials name. |
abstract java.lang.String |
getCredentialsPW()
Deprecated. Get credentials password. |
abstract java.lang.String |
getCredentialsSessionContextId()
Deprecated. Get session context id associated with this event sender's credentials. |
abstract java.lang.String |
getCredentialsSessionContextLockId()
Deprecated. Get session context lock id associated with this event sender's credentials. |
abstract java.lang.String |
getFrom()
Deprecated. Get event origination. |
abstract java.lang.String |
getIdentity()
Deprecated. Get event identity. |
abstract java.lang.String |
getName()
Deprecated. Get event name. |
abstract int |
getPriority()
Deprecated. Get event priority. |
abstract java.util.Map |
getProperties()
Deprecated. Get properties associated with this event. |
abstract java.lang.String |
getResponseType()
Deprecated. Get the response type associated with this event. |
abstract java.lang.String |
getTime()
Deprecated. Get date/time stamp set for this event. |
abstract double |
getVersion()
Deprecated. Get event version. |
abstract java.lang.Object |
serialize(int format)
Deprecated. Serialize this event into the specified format so that it can be sent to a broker for processing. |
abstract void |
setBody(org.w3c.dom.Node node)
Deprecated. Set body for this event. |
abstract void |
setBody(java.lang.String body)
Deprecated. Set body for this event. |
abstract void |
setCredentials(java.lang.String sessionContextId,
java.lang.String sessionContextLockId)
Deprecated. Set credentials. |
abstract void |
setCredentials(java.lang.String name,
java.lang.String password,
java.lang.String domain)
Deprecated. Set credentials. |
abstract void |
setFrom(java.lang.String from)
Deprecated. Set event origination. |
abstract void |
setIdentity(java.lang.String identity)
Deprecated. Set event identity. |
abstract void |
setName(java.lang.String eventName)
Deprecated. Set event name. |
abstract void |
setPriority(int priority)
Deprecated. Set event priority. |
abstract void |
setProperties(java.util.Map map)
Deprecated. Set properties to be associated with this event. |
abstract void |
setResponseType(java.lang.String responseType)
Deprecated. Set the response type that is desired. |
abstract void |
setTime(java.lang.String time)
Deprecated. Set a date/time stamp for this event. |
abstract void |
setVersion(double version)
Deprecated. Set event version. |
| Field Detail |
|---|
static final int SERIALIZE_FORMAT_STRING
static final int SERIALIZE_FORMAT_DOCUMENT
static final java.lang.String NONE
static final java.lang.String ACK
static final java.lang.String RESULT
| Method Detail |
|---|
void setName(java.lang.String eventName)
eventName - Event name.java.lang.String getName()
void setVersion(double version)
version - Event version.double getVersion()
void setIdentity(java.lang.String identity)
identity - Event identity.java.lang.String getIdentity()
void setCredentials(java.lang.String name,
java.lang.String password,
java.lang.String domain)
name - Name of principal sending the event.password - Password of principal sending the event.domain - Authentication domain associated with this principal.
void setCredentials(java.lang.String sessionContextId,
java.lang.String sessionContextLockId)
An alternative to using name, password, and domain. Allows the sender of an event to specify a session context that is bound to an already authenticated user context.
sessionContextId - session context id associated with authenticated user context.sessionContextLockId - lock on the session context if applicable.java.lang.String getCredentialsName()
java.lang.String getCredentialsPW()
java.lang.String getCredentialsDomain()
java.lang.String getCredentialsSessionContextId()
java.lang.String getCredentialsSessionContextLockId()
void setPriority(int priority)
Setting a priority does not change the processing order of
incoming events. It simply sets the Java thread priority
that the broker processing thread runs as.
Valid values are between java.lang.Thread.MIN_PRIORITY and
java.lang.Thread.MAX_PRIORITY.
priority - Event priority.int getPriority()
void setFrom(java.lang.String from)
Can include "who/where" descriptive information that describes the event origination.
from - information that describes where the event originated from.java.lang.String getFrom()
void setTime(java.lang.String time)
If a date/time is not set for this event, it will automatically be generated during serialization.
time - date/time GMT.java.lang.String getTime()
void setResponseType(java.lang.String responseType)
Valid types are as follows:
responseType - Type of response to be generated by broker.java.lang.String getResponseType()
void setProperties(java.util.Map map)
To apply namespaces to individual properties, prefix the name of the property with its desired namespace followed by a : (semi-colon) character.
map - name/value pairs.java.util.Map getProperties()
void setBody(java.lang.String body)
body - application body for this event.void setBody(org.w3c.dom.Node node)
Node must be one of the following types:
node - application body for this event.java.lang.Object getBody()
java.lang.Object serialize(int format)
format - Serialize format.
null if serialization fails.
|
| Foundation |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||