Granite DS client channel problem.

46 views
Skip to first unread message

Anupam Gogoi

unread,
Jun 9, 2015, 12:12:17 PM6/9/15
to gran...@googlegroups.com

Hello  GraniteDS team,

I have found something odd in the implementation of the ServerSession.class of the granite-client-javafx-3.1.1.GA.jar. Please look at the implementation of the start() method,

public void start() 
        {
        .....
        remotingChannel = channelFactory.newRemotingChannel("graniteamf", serverApp, 1);
        .....
}

Here, the name of the channel("graniteamf") is hard coded and if I wanted to use something else, how should I proceed?

Regards,
Anupam Gogoi.
SW Developer.
Brazil.

Lasha K

unread,
Jul 14, 2015, 10:47:58 AM7/14/15
to gran...@googlegroups.com
I had no problem using:

private static var channelSet:ChannelSet;
//..................
channelSet
.addChannel(new GravityChannel(GRAVITY_CHANNEL_NAME, "http://{server.name}:{server.port}/" + SERVER_CONTEXT + "/" + GRAVITY_CHANNEL_NAME + "/amf"));

and then this channel was used for push mechanism.
Reply all
Reply to author
Forward
0 new messages