fixed: Warnings about API changes in POE::Component::IKC::ClientLite

This commit is contained in:
colin 2017-05-09 13:37:55 -07:00
parent 94f1f3506c
commit c75ef5e044
6 changed files with 12 additions and 9 deletions

View file

@ -119,7 +119,7 @@ sub www_spectreStatus {
$session->http->setCacheControl("none");
my $remote = create_ikc_client(
my $remote = POE::Component::IKC::ClientLite->spawn(
port=>$session->config->get("spectrePort"),
ip=>$session->config->get("spectreIp"),
name=>rand(100000),
@ -203,7 +203,7 @@ do subnet checking, yet.
sub spectreTest{
my $session = shift;
my $remote = create_ikc_client(
my $remote = POE::Component::IKC::ClientLite->spawn(
port=>$session->config->get("spectrePort"),
ip=>$session->config->get("spectreIp"),
name=>rand(100000),

View file

@ -318,7 +318,7 @@ sub www_editWorkflowPriority {
}
# make the request
my $remote = create_ikc_client(
my $remote = POE::Component::IKC::ClientLite->spawn(
port=>$session->config->get("spectrePort"),
ip=>$session->config->get("spectreIp"),
name=>rand(100000),
@ -560,7 +560,7 @@ sub www_showRunningWorkflows {
</script>
ENDCODE
my $remote = create_ikc_client(
my $remote = POE::Component::IKC::ClientLite->spawn(
port=>$session->config->get("spectrePort"),
ip=>$session->config->get("spectreIp"),
name=>rand(100000),

View file

@ -72,7 +72,7 @@ sub notify {
my $module = shift;
my $params = shift;
my ($config, $error) = $self->session->quick("config", "errorHandler");
my $remote = create_ikc_client(
my $remote = POE::Component::IKC::ClientLite->spawn(
port=>$config->get("spectrePort"),
ip=>$config->get("spectreIp"),
name=> (time() . int(rand(10000000))),