|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--EventServer | +--ermi.samples.reference.UserStub
Constructor Summary | |
UserStub(java.util.Properties env)
|
|
UserStub(java.util.Properties env,
java.lang.String stub)
|
Method Summary | |
java.lang.String |
addFilter(java.lang.String p0)
It changes the subscription of the remote object in order to allow interception. |
void |
close()
Removes all subscriptions for this object and releases event service connection. |
ermi.ERemote |
copy()
Returns a reference to a new stub instance of this remote object. |
boolean |
equals(java.lang.Object obj)
|
void |
eventArrived(java.util.Hashtable evt)
|
java.lang.String |
getName()
|
void |
init()
Connects to the event service and creates all subscriptions for this object. |
void |
removeFilter()
It changes the subscription of the remote object in order to allow interception. |
void |
removeFilter(java.lang.String p0)
It changes the subscription of the remote object in order to allow interception. |
void |
setName(java.lang.String p0)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ermi.ERemote |
getERef |
Constructor Detail |
public UserStub(java.util.Properties env) throws RemoteException
public UserStub(java.util.Properties env, java.lang.String stub) throws RemoteException
Method Detail |
public void eventArrived(java.util.Hashtable evt)
public java.lang.String getName() throws RemoteException
getName
in interface User
RemoteException
public void setName(java.lang.String p0) throws RemoteException
setName
in interface User
RemoteException
public java.lang.String addFilter(java.lang.String p0) throws RemoteException
EFilter
addFilter
in interface EFilter
RemoteException
- - if the connection with the event service fails.public void removeFilter(java.lang.String p0) throws RemoteException
EFilter
removeFilter
in interface EFilter
RemoteException
- - if the connection with the event service fails.public void removeFilter() throws RemoteException
EFilter
removeFilter
in interface EFilter
RemoteException
- - if the connection with the event service fails.public void close() throws RemoteException
ERemote
close
in interface ERemote
RemoteException
- - if the connection with the event service fails.public void init() throws RemoteException
ERemote
init
in interface ERemote
RemoteException
- - if the connection with the event service fails.public boolean equals(java.lang.Object obj)
public ermi.ERemote copy() throws RemoteException
ERemote
copy
in interface ERemote
RemoteException
- - if the stub cannot be instantiated for any reason (explained in the RemoteException message).
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |