Sign in to Community
Sign in to view all badges
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:
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?
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?