Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

server 2 server questions publishItem nodes, listening and push

Avatar

Avatar
Validate 1
Level 1
asciibn
Level 1

Likes

0 likes

Total Posts

90 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
asciibn
Level 1

Likes

0 likes

Total Posts

90 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
asciibn
Level 1

23-07-2010

hey,

I'm trying to publish to the history node of a chat pod i call "chatPod".
I'm guessing that if I publish there I can see any text comming from the server.

when running publishItems. the node i think im publishing to (history) shows up as its own node under CollectionNodes

with no nodes of its own.

here is the CF code. at some point i need to communicate this to some ruby devs

        <cfset items = StructNew() />

        <cfset items.publisherID = "">
        <cfset items.body.color = 0>
        <cfset items.body.displayName = "User">
        <cfset items.body.msg = "This is a test from CF server">
        <cfset items.body.recipientDispalyName = "">
        <cfset items.body.role = 10>
       
        <cfset result = Session.accountManager.publishItem("devroom", "chatPod", "history",items, true)>

im also trying to listen to events in the room are they system events like:

CollectionNodeEvent.ITEM_RECEIVE

when this happens do I just have a CFC with a function called "receiveItem" with the right amount of parameters?

If I can listen for an event then publish a new item to a node. then i can have all interested clients listen to that event and do something.

does that make sence?

thanks.

...russ

View Entire Topic

Avatar

Avatar
Validate 1
Level 1
asciibn
Level 1

Likes

0 likes

Total Posts

90 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
asciibn
Level 1

Likes

0 likes

Total Posts

90 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
asciibn
Level 1

28-04-2011

hi,

I have my session on my CF server. And a LCCS folder on the root with the RTCHOOKS.CFC sitting inside.

It looks like LCCS is posting back to my server. But I just don’t have any idea if its doing anything

Any idea of what I should be looking for.

What are the params that LCCS sends back?

Thanks

…russ