|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.vinci.transport.FrameComponent
org.apache.vinci.transport.Frame
org.apache.vinci.transport.vns.client.ServeonResult
public class ServeonResult
Specialized document (Frame) for representing result of querying VNS for the port on which a service should be provided. This class is used by VinciServer during port negotiation with VNS.
Field Summary | |
---|---|
static TransportableFactory |
factory
|
int |
port
Set to the port on which the service should be offered. |
Constructor Summary | |
---|---|
ServeonResult()
|
Method Summary | |
---|---|
void |
add(java.lang.String key,
FrameComponent value)
Implement the Frame add() callback. |
static Transportable |
composeQuery(java.lang.String service_name,
java.lang.String host_name)
Create a document representing the VNS serveon query for the specified service running on the specified host. |
static Transportable |
composeQuery(java.lang.String service_name,
java.lang.String host_name,
int priority)
Create a document representing the VNS serveon query for the specified service running on/with the specified host/priority. |
static Transportable |
composeQuery(java.lang.String service_name,
java.lang.String host_name,
int priority,
int instance)
Create a document representing the VNS serveon query for the specified service running on/with the specified host/priority/instance. |
Methods inherited from class org.apache.vinci.transport.Frame |
---|
createFrameLeaf, createSubFrame, fadd, fadd, fadd, fadd, fadd, fadd, fadd, fadd, fadd, fadd, fadd, fadd, fadd, fadd, faddTrueBinary, fromStream, getFrameTransporter, getKeyValuePair, getKeyValuePairCount, setFrameTransporter, toRawXML, toRawXML, toRawXMLWork, toStream, toString, toXML, toXML, toXML |
Methods inherited from class org.apache.vinci.transport.FrameComponent |
---|
getAttributes, setAttributes |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static TransportableFactory factory
public int port
Constructor Detail |
---|
public ServeonResult()
Method Detail |
---|
public static Transportable composeQuery(java.lang.String service_name, java.lang.String host_name, int priority, int instance)
public static Transportable composeQuery(java.lang.String service_name, java.lang.String host_name, int priority)
public static Transportable composeQuery(java.lang.String service_name, java.lang.String host_name)
public void add(java.lang.String key, FrameComponent value)
add
in class Frame
key
- The tag name with which to associate the value.value
- The (Frame | FrameLeaf) value to associate with the tag.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |