public class BusEntity
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
HIGH |
protected java.lang.String |
id
A UUID for a specific service to invoke
|
static int |
LOW
Priority values - larger value is higher priority
|
static int |
LOWMED |
static int |
MED |
static int |
MEDHIGH |
protected int |
priority
Optional priority to allow preferential queuing
|
protected HttpEntity |
request
Message request
|
protected java.lang.String |
ticket
A unique ticket number assigned to the request
|
protected java.lang.String |
type
A service type to ask to process the message
|
Constructor and Description |
---|
BusEntity(java.lang.String theTicket)
Create a new instance of BusEntity.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getID()
Get the UUID for a specific service that has been selected to process the message.
|
HttpEntity |
getRequest()
Get the http message request to be accepted.
|
java.lang.String |
getTicket()
Get the unique ticket number for this request.
|
java.lang.String |
getType()
Get the type for a service that is being asked to process the message.
|
void |
setID(java.lang.String thisID)
Set the UUID for a specific service that has been selected to process the message.
|
void |
setRequest(HttpEntity theRequest)
Set the http message request to be accepted.
|
void |
setType(java.lang.String thisType)
Set the type for a service that is being asked to process the message.
|
public static int LOW
public static int LOWMED
public static int MED
public static int MEDHIGH
public static int HIGH
protected int priority
protected java.lang.String ticket
protected java.lang.String type
protected java.lang.String id
protected HttpEntity request
public BusEntity(java.lang.String theTicket)
theTicket
- unique ticket number for the request.public java.lang.String getTicket()
public void setType(java.lang.String thisType)
thisType
- the service type.public java.lang.String getType()
public void setID(java.lang.String thisID)
thisID
- the service UUID.public java.lang.String getID()
public void setRequest(HttpEntity theRequest)
theRequest
- the server handler.public HttpEntity getRequest()