logo       

Re: Identifying Client Callbacks: msg#00002

java.sun.rmi

Subject: Re: Identifying Client Callbacks

>login("mynick", "mypass", this);
>
>(with "this" I pass the reference to the client interface)
>Ok.. server receive this call, check if "mynick" and "mypass" are correct,
>and if yes, it stores in a list the reference to that client interface.
>
>in a second moment.. when client wants to logout it calls:
>
>logout(this);

Does 'this' extend UnicastRemoteObject, or is it exported as an
UnicastRemoteObject?

-----
gregg@xxxxxxxxxxxx (Cyte Technologies Inc)

===========================================================================
To unsubscribe, send email to listserv@xxxxxxxxxxxx and include in the body
of the message "signoff RMI-USERS". For general help, send email to
listserv@xxxxxxxxxxxx and include in the body of the message "help".

For a list of frequently asked RMI questions please refer to:
http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html

To view past RMI-USERS postings, please see:
http://archives.java.sun.com/archives/rmi-users.html



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise