|
NAMEUbic::Service::Common - common way to construct new service by specifying several callbacks VERSIONversion 1.60 SYNOPSIS $service = Ubic::Service::Common->new({
start => sub {
# implementation-specific
},
stop => sub {
# implementation-specific
},
status => sub {
# implementation-specific
},
name => "my-service",
port => 1234,
});
$service->start;
DESCRIPTIONEach service should provide safe start(), stop() and status() methods. CONSTRUCTOR
AUTHORVyacheslav Matyukhin <mmcleric@yandex-team.ru> COPYRIGHT AND LICENSEThis software is copyright (c) 2016 by Yandex LLC. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
|