uka.karmi.socket
Class SocketTechnology.SocketThread

java.lang.Object
  extended byjava.lang.Thread
      extended byuka.karmi.rmi.ExecutionThread
          extended byuka.karmi.stream.StreamServer
              extended byuka.karmi.socket.SocketTechnology.SocketThread
All Implemented Interfaces:
Constants, java.lang.Runnable
Enclosing class:
SocketTechnology

final class SocketTechnology.SocketThread
extends StreamServer


Field Summary
(package private)  ExportPoint ep
           
(package private)  java.net.Socket socket
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Fields inherited from interface uka.karmi.rmi.server.Constants
APP_CALL, COLLECTIVE_OPERATION, DGC_ACK, DGC_CALL, DGC_CALL_ASYNC, MID_BARRIER, MID_COLLECTIVE_EXCHANGE, MID_COLLECTIVE_UPDATE, MID_EXCLUSIVE_LOCK, MID_EXCLUSIVE_UPDATE, MID_REQUEST_TICKET, MID_REQUEST_WAIT, MID_RMA, MID_SERVICE_CREATE_REPLICA, MID_SERVICE_GET_STUB, MID_SERVICE_INTERRUPT, MID_SERVICE_MIGRATE, MID_SERVICE_UPDATE_REFERENCES, MID_WAKEUP, SERVICE_CALL, SKELETON_EXTENSION, STUB_EXTENSION
 
Constructor Summary
(package private) SocketTechnology.SocketThread(ExportPoint ep, java.net.Socket socket)
           
 
Method Summary
 java.lang.String getClientHost()
          Returns the remote caller's host name.
 void run()
           
 
Methods inherited from class uka.karmi.stream.StreamServer
service
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ep

ExportPoint ep

socket

java.net.Socket socket
Constructor Detail

SocketTechnology.SocketThread

SocketTechnology.SocketThread(ExportPoint ep,
                              java.net.Socket socket)
Method Detail

run

public void run()

getClientHost

public java.lang.String getClientHost()
Description copied from class: ExecutionThread
Returns the remote caller's host name. A remote method is executed by an ExecutionThread. If the runtime system calls the getClientHost() method the implementation of ExecutionThread must return the host name of the remote caller of the currently executed remote method.

Specified by:
getClientHost in class ExecutionThread
Returns:
host name of the caller