B
Boki
To create a server connection:
we have to do:
service = (StreamConnectionNotifier) Connector.open(url);
con = (StreamConnection) service.acceptAndOpen();
I don't know why we have to do these,
my question:
why convert StreamConnectionNotifier(service) to StreamConnection(con) ?
It seems that when we implement a client code, we don't have to do that,
isn't it ?
ex: we only have to do this:
StreamConnection con = (StreamConnection) Connector.open( url );
Best regards,
Boki.
we have to do:
service = (StreamConnectionNotifier) Connector.open(url);
con = (StreamConnection) service.acceptAndOpen();
I don't know why we have to do these,
my question:
why convert StreamConnectionNotifier(service) to StreamConnection(con) ?
It seems that when we implement a client code, we don't have to do that,
isn't it ?
ex: we only have to do this:
StreamConnection con = (StreamConnection) Connector.open( url );
Best regards,
Boki.