![]() |
|||
| |||
|
SpaceKit for Java, page 4
1 Introduction
2 The Blocks SpaceKit for Java Client
3 Connecting and Channel Creation
» Client Examples
5 The Blocks SpaceKit for Java Server: SpaceBxxd
6 SpaceBxxd - Responses
7 Localization Class Structure and Utilities
8 Reference
this article in RFC-2629 formats Client Examples
SpaceAuthenticate Description: Opens a channel with the SpaceProfile.saslAnonymous profile and the SpaceProfile.saslOtp profile.
Command Line Example:
java SpaceAuthenticate sqa.invisible.net blockmaster secretpassword
SpaceBig Description: Implements the Blocks Information Groper.
Command Line Example (returns list of valid "name" attributes):
java SpaceBig -server sqa.invisible.net search "<union>...</union>"Command Line Example (fetch the contents of the specified document to System.out):
java SpaceBig -server sqa.invisible.net fetch doc.rfc.2629Command Line Example (store the block using content from System.in):
java SpaceBig -server sqa.invisible.net -username yourusername -passphrase yourpassphrase store test.yoursubtree test.yoursubtree.2629 write 1 <store.xmlCommand Line Example (delete the specified block):
java SpaceBig -server sqa.invisible.net -username yourusername -passphrase yourpassphrase store test.yoursubtree test.yoursubtree.2629 delete 1
SpacePing Description: Opens a channel with the SpaceProfile.nullEcho profile and passes the text "Ping" as a normal request, which is echoed back. Secondly, opens another channel with the SpaceProfile.nullSink profile.
Command Line Example:
java SpacePing sqa.invisible.net
SpaceTest Description: Runs numerous tests, including using the Apache-Xerces parser.
Command Line Example:
java SpaceTest sqa.invisible.net
SpaceTest2 Description: Runs numerous tests.
Command Line Example:
java SpaceTest2 sqa.invisible.net
Next » The Blocks SpaceKit for Java Server: SpaceBxxd.
Copyright © 2000 Invisible Worlds. All Rights Reserved.
![]() |
|||
|