org.huihoo.jfox.ms.crb.socket
Class SocketLinkServerService

java.lang.Object
  extended byorg.huihoo.jfox.ms.crb.LinkServerService
      extended byorg.huihoo.jfox.ms.crb.socket.SocketLinkServerService
All Implemented Interfaces:
java.lang.Runnable

public class SocketLinkServerService
extends LinkServerService
implements java.lang.Runnable

Defines the service on server for transforming messages with client

Version:
@created July 24th 2003 @modify history Time Modifier Purpose
Author:
Liang.Zhao (zlushangnwpu@sina.com)

Field Summary
 
Fields inherited from class org.huihoo.jfox.ms.crb.LinkServerService
connectionFactoryJNDIRef, firstInterceptor
 
Constructor Summary
SocketLinkServerService()
           
 
Method Summary
 void endServer()
           
 LinkServer getLinkServer()
          return a concrete type of LinkServer
 void initialize()
           
static void main(java.lang.String[] args)
          only for test
 void run()
          receive request for constucting connection from client
 void startServer()
           
 
Methods inherited from class org.huihoo.jfox.ms.crb.LinkServerService
bindJNDIRef, close, getConnectionFactoryJNDIRef, setConnectionFactoryJNDIRef, setInterceptor, start, unbindJNDIRef
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SocketLinkServerService

public SocketLinkServerService()
Method Detail

initialize

public void initialize()

startServer

public void startServer()
Specified by:
startServer in class LinkServerService

endServer

public void endServer()
Specified by:
endServer in class LinkServerService

getLinkServer

public LinkServer getLinkServer()
return a concrete type of LinkServer

Specified by:
getLinkServer in class LinkServerService
Returns:
The LinkServer object

run

public void run()
receive request for constucting connection from client

Specified by:
run in interface java.lang.Runnable

main

public static void main(java.lang.String[] args)
only for test



Copyright © 2002-2003 Open Enterprise Foundation. All Rights Reserved.