Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 31.081.302 Times

HyperWave::CSP 0.03.1

  Date Added: May 05, 2010  |  Visits: 717


Report Broken Link
Printer Friendly Version

Product Homepage
Download (79 downloads)

SYNOPSIS use HyperWave::CSP; $server = HyperWave::CSP->New("my.hyperwave.server"); $server->quit; HyperWave is a class implementing a simple HyperWave client in Perl. CONSTRUCTOR new ( [ HOST [, PORT [, USERNAME [, PASSWORD [, ENCRYPT [, LANGUAGE ] ] ] ] ] ] ) This is the constructor for a new HyperWave object. HOST is the name of the remote host to which a HyperWave connection is required. If not given the environment variables HWHOST and then HGHOST are checked, and if a host is not found then localhost is used. PORT is the HyperWave port to connect to, it defaults to the environment variable HWPORT, then HGPORT and then to the standard port 418 if nothing else is found. USERNAME and PASSWORD are the HyperWave username and password, they default to anonymous. ENCRYPT will eventually allow you to pass the password in in encrypted form rather than plaintext, but is not yet implemented. LANGUGAE also is not yet used, and defaults to the value of the environment variable HWLANGUAGE and then to English. The constructor returns the open socket, or undef if an error has been encountered. METHODS Unless otherwise stated all methods return either a true or false value, with true meaning that the operation was a success. When a method states that it returns a value, failure will be returned as undef or an empty list. command_stat ( ) Returns string containing various statistics for the server. command_ftstat ( ) Returns string containing various statistics for the server. command_dcstat ( ) Returns string containing various statistics for the server. command_who ( ) Returns string containing current users for the server. get_objnum_by_name ( NAME ) Returns object number for the document with NAME as an attribute, or false on error. get_url ( OBJNUM ) Returns a guess at a URL that might work for the document OBJNUM to be retreived via the HyperWave HTTP interface. Note that it is ONLY a guess. For one thing, it depends on the HyperWave server running a web interface on the default HTTP port. get_attributes ( OBJNUM ) Returns a string containing the attributes for OBJNUM. The string is in form key1=value1nkey2=value2n.... get_attributes_hash ( OBJNUM ) Like get_attributes() except that the attributes are returned as a hash. get_text ( OBJNUM ) Returns body text for the objnum passed. This usually means HTML sans anchors in practical terms. get_html ( OBJNUM ) Returns HTML text, including anchors, for the objnum passed. exec_cgi ( OBJNUM ) Returns output of the CGI, for the objnum passed. Depends on the CGI script not requiring input. insert_attribute ( OBJNUM, NAME, VALUE ) Adds an attribute to the given objnum. Note that HyperWave allows multiple attributes of the same name, so if you add an attribute that already exists youll end up with two. Use change_attribute if you want to overwrite the old one. remove_attribute ( OBJNUM, NAME, VALUE ) Removes an attribute to the given objnum. Note that you DO need to know the old value because HyperWave allows multiple attributes with the same value. change_attribute ( OBJNUM, NAME, OLD_VALUE, NEW_VALUE ) Alters an attribute to the given objnum (NB: needs to know old value). get_children ( OBJNUM ) Returns objnums for all the children in the objnum passed. If the object was a leaf node (ie: no children) youll get a 0 back. get_parents ( OBJNUM ) Returns objnums for all the parents in the objnum passed. If the object had no parents (it was the root collection) youll get a 0 back. get_anchors ( OBJNUM ) Returns objnums for all the anchors in the document passed. insert_object ( OBJRECORD ); Inserts an object on the HyperWave server. Returns object ID of the new object. OBJRECORD should be in the form Attribute=AttributeValuenAttr2=Value2 and must contain certain parameters such as the parent object, name, document type, etc. It is suggested that you use one of the other insert_* commands as they provide a friendlier interface. This command is provided primarily for completeness. insert_collection ( PARENT_OBJNUM, NAME [, OTHER_PARAMS ] ) Inserts a collection on the HyperWave server. Returns object ID of the new collection. PARENT_OBJNUM is the object number (probably returned from get_objnum_by_name() of the collection to insert this collection into. NAME is the name attribute, this will become the apparent URL to somebody using the WaveMaster interface. OTHER_PARAMS should be in the form Attribute=AttributeValuenAttr2=Value2 and so on. You might particularly want to set a Title for the collection. insert_image ( OBJNUM, PARENT, NAME ) Adds a new picture. NOT YET IMPLEMENTED. insert_text ( OBJNUM, PARENT ) Adds a new text object (no anchors). NOT YET IMPLEMENTED. insert_html ( OBJNUM ) Adds a new html object (we parse the anchors). NOT YET IMPLEMENTED. error ( ) Returns a human-readable string describing the previous server error. server_error_message ( ) Returns a human-readable string describing the previous server error..

Requirements: No special requirements
Platforms: Linux
Keyword: Attribute Csp Hyperwave Hyperwavecsp Libraries Name New Not Yet Object Objnum Parent Returns Server Value
Users rating: 0/10

License: Freeware Size: 17.41 KB
Network & Internet  -  Salvation Focus 0.99
Salvation Focus project is a web application that allows you to focus your prayer on individuals who have not yet come to know Jesus Christ as Lord and Saviour. The intent is to cycle through a list of prebelievers, as we like to call them, and...
102.4 KB  
Libraries  -  Class::Bits 0.05
Class::Bits is a Perl module with class wrappers around bit vectors. SYNOPSIS package MyClass; use Class::Bits; make_bits( a => 4, # 0..15 b => 1, # 0..1 c => 1, # 0..1 d => 2, # 0..3 e => s4 # -8..7 f => s1 # -1..0 ); package;...
4.1 KB  
Mobile private network for CHAPEL CENTER OF NEW THOUGHT. The app is dynamically configurable and offers multiple modules such as Events, Meetings, Services, News, Chats, Contacts and a Member Directory. If you do not yet have a user name and...
1024 KB  
Mobile private network for CHRISTIAN AID MINISTRIES. The app is dynamically configurable and offers multiple modules such as Events, Meetings, Services, News, Chats, Contacts and a Member Directory. If you do not yet have a user name and password...
1024 KB  
Lifestyle  -  My Gangsta Name
Do you want to become a succesful rapper or would you like to get more street cred from your homies? My Gangsta Name is a name generator that turns your plain old ordinary name into a gangsta name. New Version includes good old rap...
1024 KB  
Libraries  -  Slay::Makefile 0.01
Slay::Makefile is a wrapper to Slay::Maker that reads the rules from a file. SYNOPSIS Slay::Maker is a make engine that uses perl declaration syntax for rules, including regular expressions for targets and anonymous subs for targets,...
13.31 KB  
Libraries  -  Geo::Ellipsoids 0.14
Geo::Ellipsoids is a package for standard Geo:: ellipsoid a, b, f and 1/f values. SYNOPSIS use Geo::Ellipsoids; my $obj = Geo::Ellipsoids->new(); $obj->set(WGS84); #default print "a=", $obj->a, "n"; print "b=", $obj->b, "n"; print "f=",...
7.17 KB  
Programming  -  Mavenizer 1.0
Mavenizer intends to ease the (rather painfull) process of making third party libraries (which are not built with Maven) available as artifacts on a maven repository.
4.54 MB  
Modules  -  Avatar Approval 1.0
When a new avatar is uploaded, it is placed in the 'not yet moderated' queue, and not displayed. A moderator can then either approve, disapprove, or delete the avatar. Only approved avatars will be shown site wide.Avatar moderation is done on the...
Modules  -  Comment approval 1.0
To achieve this, three new sub-menu items are added to the admin/comments screen; "approved", "disapproved" and "not yet moderated". The users with appropriate permissions can use these pages to perform various actions like approval, disapproval,...
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.13.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB