public class WorkInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
BOTH |
ContractDef |
contract
Optional contract terms for negotiating with.
|
java.lang.String |
info
The info to publish
|
KeywordInfo |
keywordInfo
Keywords list to describe the service
|
MethodInfo |
methodInfo
Description of the method and location for the service
|
static int |
POINTPOINT |
float |
score
Matching score if relevant
|
static int |
SUBSCRIBE |
int |
workProtocol
Type of work protocol for the service - point-to-point, subscribe, or both
|
Constructor and Description |
---|
WorkInfo()
Create a new instance of WorkInfo.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isPtP()
Return true if the work protocol allows point-to-point, direct call on the service ID.
|
boolean |
isSubscribe()
Return true if the work protocol allows subscribe, call on a service type.
|
public static final int POINTPOINT
public static final int SUBSCRIBE
public static final int BOTH
public int workProtocol
public java.lang.String info
public KeywordInfo keywordInfo
public MethodInfo methodInfo
public ContractDef contract
public float score
public WorkInfo()
SUBSCRIBE
.public boolean isPtP()
public boolean isSubscribe()