Volity::Server

A Volity game parlor.
Download

Volity::Server Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Jason McIntosh
  • Publisher web site:
  • http://volity.org/projects/gamut/

Volity::Server Tags


Volity::Server Description

A Volity game parlor. Volity::Server is a Volity game parlor.SYNOPSIS use Volity::Server; # Create a new parlor my $server = Volity::Server->new( { user=>'bob_the_game', password=>'secret', host=>'volity.net', resource=>'server', alias=>'volity', game_class=>'MyGame::Class', } ); # And there you go. $server->start; # ... elsewhere ... $server->stop;However, it is much more likely that you'll be starting a server from the volityd program than from within code. Here's how you'd launch the above server from the command line (and without using a volityd config file): $ volityd -J bob_the_game@volity.net/server -G MyGame::Class -p secretAn object of this class is a Volity parlor. (It's still called Volity::Server due to historical tradition.) As the synopsis suggests, it's more or less a black-box application class. Construct the object with a configuratory hash reference, call the start method, and if XMPP authentication worked out, you've got a running server.You generally never need to use this class directly, no matter what you're doing with Volity. Parlor objects of this class are created and managed for you by the volityd program, so unless you want to get into the guts of the Volity system you may be more interested in volityd.If your main goal involves creating Volity games in Perl, I direct your attention to Volity::Game, which is far more relevant to such pursuits. The rest of this manpage is probably of more interest to folks wishing to perform deep voodoo with these libraries. Requirements: · Perl


Volity::Server Related Software