Here is what the _start looks like for the ikc clients that connect to the
server. I read the docs and client examples posted with the
distribution.......but still trying to work through it.

sub _start {
      my ( $kernel, $session, $heap, $class, $arg1 ) = @_[ KERNEL, SESSION,
HEAP, ARG0, ARG1 ];

      my $states;
      my $alias = $class->ALIAS;
       POE::Component::IKC::Responder->spawn();
       # name this session
       if($class){

        $kernel->alias_set($alias);
        $kernel->post(IKC=>'monitor', '*'=>{
            subscribe   =>'sub_event',
            unsubscribe => 'unsub_event',
            register    => 'reg_event',
            unregister  => 'unreg_event'
        });

        $kernel->post( 'IKC', 'publish', $alias, [$class->SUBSCRIBE_METHODS]
);

        $class->__startup($kernel,$session,$heap);
       }

}

On Tue, May 12, 2009 at 3:27 PM, Josh803316 <[email protected]> wrote:

> To Whom may want to Help,
>
> I have two IKC clients that publish their states to a IKC server (each one
> is a separate process).
> I want to be able to use IKC to make both clients talk with each other once
> they have published their states.
>
> I tried to subscribe from one client to the other  client, but I get this
> error...
>  1365: Unknown kernel 'ClientImTryingToConnectTo'
>
> I'm monitoring my connection process and I see that all of the foreign
> kernels are connected.......but I have to post back to the server who has to
> post to the other clients.
> Is there a way to have direct IKC client communication between multiple
> clients after the publishing/subscription portion is complete?
>

Reply via email to