Firefish 0.5.10

Package gov.lbl.dsd.p2pio

The core abstractions of the Peer-to-Peer I/O Protocol, such as their messages and parameters; OPEN, OK, ERROR, RECEIVE, SEND, FINALSEND, CLOSE, item, item set.

See:
          Description

Class Summary
Close Close request message of P2PIO protocol; requests closing the given transaction.
Constants Miscellaneous constants in a single central place.
Err Error response message used to indicate the failure of a previous request message.
ExchangeVerifier Checks whether the response to a given request is legal.
FinalSend FinalSend response message of P2PIO protocol; indicates that this is the last send of the current message exchange.
Invite Invite request message of P2PIO protocol; invites the client to issue a Receive request.
ItemSet A Send or FinalSend message contains a set of zero or more items; an item can, in fact, be any arbitrary XML element with any arbitrary XML attributes and child elements.
ListNumbersQuery A query that produces a list of size numbers, starting with index zero; mainly used for debugging and testing purposes.
Msg The abstract base class of all messages of the Peer-to-Peer I/O Protocol (P2PIO); each message has a TransactionID.
MsgElement The abstract base class of all elements contained in P2PIO messages.
MultiQuery Experimental multi query support (not properly implemented yet).
NameValueSet A set of name-value pairs (entries), all of which are strings.
Ok A response message used to indicate the success of a previous request message.
Open Open request message of P2PIO protocol; requests the opening of a transaction; In particular, contains the query to be executed by nodes of the P2P network, as well as the scope of the query.
P2PQuery A Peer to Peer query contains three parts, a dataSourceQuery, a mergeOperator and a streamQuery.
Parser A simple parser that converts an XML element into a Msg message object.
PublishQuery A query that publishes a set of items from client to server.
Query Abstract base class of all supported query types.
QueryList A list of queries (not properly implemented yet).
Receive Receive request message of P2PIO protocol; requests an ItemSet to be send in a Send or FinalSend response message, depending on the given mode.
ReceiveTimeout Timeout issued when a Receive message times out.
RegexQuery A Regular Expression query containing the regex expression as well as the group names used to convert results to XML elements, if any.
Request The abstract base class of all request messages of the P2PIO protocol.
Response The abstract base class of all response messages of the P2PIO protocol.
Scope The scope of a query used in an Open request message; Contains the transaction timeout, maxHops, and optionally the neighbor selection query.
Send Send response message of P2PIO protocol; indicates that this is not the last send of the current message exchange.
StillOpen Indicates that a FinalSend response is the last send of the current message exchange; the client may subsequently issue a Receive for another message exchange.
StringList A list of strings.
TransactionID A transaction (and each message) has a transaction ID, which is a universally unique identifier (UUID) [aka GUID in the Microsoft world]; All messages of a given transaction carry the same transaction ID; This implementation automatically generates 128 bit UUIDs in full conformance to the IETF standard.
TransactionTimeout Timeout issued when a transaction times out; The transaction timeout is indicated in the Scope element of the Open request message.
XPathQuery An XPath query containing the XPath expression as well as the namespaces used in that expression, if any.
XQuery An XQuery that contains the XQuery expression as well as additional parameters used by that query, if any.
 

Exception Summary
P2PIOException An unchecked exception that wraps a P2PIO Err object.
 

Package gov.lbl.dsd.p2pio Description

The core abstractions of the Peer-to-Peer I/O Protocol, such as their messages and parameters; OPEN, OK, ERROR, RECEIVE, SEND, FINALSEND, CLOSE, item, item set.


Firefish 0.5.10

Jump to the Firefish Homepage