Another cf-websocket-gateway Update

I just released version 1.2 of cf-websocket-gateway. This is a bug fix release which addresses I/O issues in the underlying Java-WebSocket server. If you are using cf-websocket-gateway I highly recommend updating to this latest version.

Related Blog Entries

Comments
Nolan's Gravatar Hi,

Does your websocket gateway allow for channels to be dynamically created?

Thanks.
# Posted By Nolan | 2/7/11 4:48 PM
Nathan Mische's Gravatar @Nolan - I'm not exactly sure what you mean by "channels", but I'm pretty sure the answer is no. You must configure endpoints when you set up the Event Gateway.
# Posted By Nathan Mische | 3/23/11 11:20 AM
Brian Kalbfleisch's Gravatar Should the SendGatewayMessage tag call the onIncomingMessage method in the cfc?

For example:

<cfscript>
status = false;
event = structNew();
event.data =structNew();
event.data.message = "test";
status = SendGatewayMessage("myWebsocket", event);
</cfscript>

I do not get a response from the event. However, if I call from javascript via the Websocket.send method, I do get a response.

Any ideas?
# Posted By Brian Kalbfleisch | 4/26/11 1:50 PM
Brian Kalbfleisch's Gravatar got it to work, just in case anyone else needs help.

<cfset var event = {}>
<cfset event["MESSAGE"] = "TEST">
<cfset temp = SendGatewayMessage("myWebsocket", event)>
# Posted By Brian Kalbfleisch | 4/26/11 2:33 PM
John Lyons's Gravatar Hello I hope you'll over look the N00bness of this question. I am confused about the configuration of the gateway i.e. that you define a port for it to run on. I thought the point was that it was full duplex over 80/443. I am looking at this tech to support a mobile game I am working on. Could explain how this works. Thank You Very Much for your time.
# Posted By John Lyons | 7/8/11 11:54 PM
BlogCFC was created by Raymond Camden. This blog is running version 5.8.001.