public abstract class SocketConnection
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.io.DataInputStream |
fDataInputStream |
protected java.io.DataOutputStream |
fDataOutputStream |
protected java.io.InputStream |
fInputStream |
protected java.io.OutputStream |
fOutputStream |
protected StubTable |
fStubs |
| Modifier | Constructor and Description |
|---|---|
protected |
SocketConnection() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
dispatchInvocation(ResultCell rcell) |
void |
exportSkeleton(Skeleton skel) |
Skeleton |
getSkeleton(int uid) |
Stub |
getStub(int tid,
int uid) |
void |
listen() |
ResultCell |
prepareOutgoingInvoke(Stub self,
int classId,
int methodId)
First call made by a stub.
|
ResultCell |
searchCell(int cmdId) |
void |
stopListening() |
Stub |
swizzle(int tid,
int uid) |
protected void |
wireExceptionNotify(java.lang.Exception ex)
A Wire-related exception occurred.
|
protected StubTable fStubs
protected java.io.InputStream fInputStream
protected java.io.OutputStream fOutputStream
protected java.io.DataInputStream fDataInputStream
protected java.io.DataOutputStream fDataOutputStream
public void exportSkeleton(Skeleton skel)
public Skeleton getSkeleton(int uid)
public Stub getStub(int tid, int uid)
public void listen()
public void stopListening()
public ResultCell prepareOutgoingInvoke(Stub self, int classId, int methodId) throws java.io.IOException
java.io.IOExceptionpublic ResultCell searchCell(int cmdId)
public Stub swizzle(int tid, int uid)
protected abstract void dispatchInvocation(ResultCell rcell) throws java.lang.Exception
java.lang.Exceptionprotected void wireExceptionNotify(java.lang.Exception ex)