|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjpl.mipl.mdms.FileService.komodo.api.ServerProxy
public class ServerProxy
Purpose: The sever proxy class that implements the Komodo server proxy class. This class handles requests queued to file types muliplexed onto this proxy. Must be public to implement runnable.
Copyright 2005, California Institute of Technology. ALL RIGHTS RESERVED. U.S. Government Sponsorship acknowledge. 2005.
============================================================================
Modification History :
----------------------
Date Who What
----------------------------------------------------------------------------
00/00/2000 Thomas Initial release.
07/13/2005 Nick Initial documentation.
10/11/2005 Nick Introducted new constructor that accepts
a login flag that, if set, performs the
original login sequence.
Added _authenticateServerGroupUser() to
perform user authentication without
connecting to specific filetype.
Updated _closeConn to check if filetype
is associated with the request.
06/28/2006 Nick New pulse thread to keep connection
alive.
============================================================================
| Field Summary | |
|---|---|
protected static int |
__nextId
|
protected int |
_id
|
static long |
DB_DELTA_MS
|
protected int |
INTERNAL_TRANSACTION_ID
|
| Method Summary | |
|---|---|
protected void |
_sendFileChecksum(BufferedStreamIO io,
jpl.mipl.mdms.FileService.komodo.api.Request request,
String fileName)
|
ServerInfo |
getServerInfo()
Returns reference to server info object passed-in during construction. |
protected int |
putInternal(jpl.mipl.mdms.FileService.komodo.api.Request profile)
Method to put a request to the request queue. |
void |
run()
The server proxy run method. |
protected void |
runControl()
Run implementation for control service. |
protected void |
runProxy()
Run implementation for service proxy. |
protected void |
runPulse()
Run implementation for pulse service. |
String |
toString()
Returns string representing this serverproxy, including its id. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final long DB_DELTA_MS
protected final int _id
protected static int __nextId
protected final int INTERNAL_TRANSACTION_ID
| Method Detail |
|---|
public void run()
run in interface Runnableprotected void runProxy()
terminate will
be invoked to alert all threads of this, and then method will
return. Otherwise, the request is decoded and executed.
protected void runControl()
protected void runPulse()
protected int putInternal(jpl.mipl.mdms.FileService.komodo.api.Request profile)
profile - the profile record specifies a request command.
public ServerInfo getServerInfo()
public String toString()
toString in class Object
protected void _sendFileChecksum(BufferedStreamIO io,
jpl.mipl.mdms.FileService.komodo.api.Request request,
String fileName)
throws SessionException
SessionException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||