Server

This class encapsulates the details for a server running the Beanstalkd application and provides a main interaction point for users to obtain Tube objects.

Constructors

this
this(string host, ushort port)

Constructor for the Server class.

Members

Functions

getTube
Tube getTube(string name)

This method fetches a Tube object representing a named tube on a server running Beanstalkd. This is the preferred method of obtaining a tube as it hides the various class interactions behind a simple interface call.

Properties

host
string host [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
port
ushort port [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

DEFAULT_BEANSTALKD_PORT
auto DEFAULT_BEANSTALKD_PORT;

A constant defining the default Beanstalkd port.

Meta