public class Stub extends java.lang.Object implements RemoteService
| Modifier and Type | Field and Description |
|---|---|
protected SocketConnection |
m_con |
protected boolean |
m_revoked |
protected int |
m_tid |
protected int |
m_uid |
static Stub |
NOT_FOUND |
static Stub |
UNDEFINED |
| Constructor and Description |
|---|
Stub(SocketConnection con,
int tid,
int uid) |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(RemoteServiceListener l) |
void |
completeFuture(java.lang.Object requester) |
void |
createFuture(java.lang.Object requester) |
boolean |
equals(java.lang.Object o) |
SocketConnection |
getConnection() |
int |
getTid() |
int |
getUid() |
static void |
Init(SocketConnection con) |
void |
removeListener(RemoteServiceListener l) |
void |
revoked() |
void |
revokeFuture(java.lang.Object requester,
java.lang.Exception ex) |
void |
suspendFuture(java.lang.Object requester) |
Stub |
swizzle(int tid,
int uid) |
public static Stub UNDEFINED
public static Stub NOT_FOUND
protected int m_tid
protected int m_uid
protected boolean m_revoked
protected SocketConnection m_con
public Stub(SocketConnection con, int tid, int uid)
public static void Init(SocketConnection con)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int getTid()
public int getUid()
public void revoked()
public SocketConnection getConnection()
public Stub swizzle(int tid, int uid)
public void addListener(RemoteServiceListener l)
addListener in interface RemoteServicepublic void removeListener(RemoteServiceListener l)
removeListener in interface RemoteServicepublic void createFuture(java.lang.Object requester)
throws java.rmi.RemoteException
createFuture in interface RemoteServicejava.rmi.RemoteExceptionpublic void suspendFuture(java.lang.Object requester)
throws java.rmi.RemoteException
suspendFuture in interface RemoteServicejava.rmi.RemoteExceptionpublic void completeFuture(java.lang.Object requester)
throws java.rmi.RemoteException
completeFuture in interface RemoteServicejava.rmi.RemoteExceptionpublic void revokeFuture(java.lang.Object requester,
java.lang.Exception ex)
throws java.lang.Exception
java.lang.Exception