Ref: Reddwarf, getting started
I run the tutorial. The default authentication cfg should be:
com.sun.sgs.app.authenticators=com.sun.sgs.impl.auth.NullAuthenticator
I send simple string from client, the string like “xxxxxxxxxxxxxxxxxx”.getBytes(“UTF-8”). But i wonder to know
where the server to receive the string. The code in the applistener:
@Override
public ClientSessionListener loggedIn(ClientSession session) {
System.out.println(“Fool Dog Logged In!”);
MyLog.log(“Fool Dog Logged In!”);
return new DogListener(session,channel);
}
I think it works if send message. But no any print,no any log.
If i have to implement the ClientSession, i have to config the implementation class.
Tell me how to config it.