edu.sc.seis.cormorant.network
Class NetworkServantLocator

java.lang.Object
  extended by org.omg.PortableServer.Servant
      extended by org.omg.PortableServer.ServantLocatorPOA
          extended by edu.sc.seis.cormorant.network.NetworkServantLocator
All Implemented Interfaces:
org.omg.CORBA.portable.InvokeHandler, org.omg.PortableServer.ServantLocatorOperations, org.omg.PortableServer.ServantManagerOperations

public class NetworkServantLocator
extends org.omg.PortableServer.ServantLocatorPOA

NetworkServantLocator.java Created: Thu Mar 15 12:27:25 2001

Version:
Author:
Philip Crotwell

Field Summary
protected  edu.sc.seis.fissuresUtil.database.network.JDBCChannel jdbcChannel
           
protected  org.omg.PortableServer.POA myPOA
           
protected  java.util.HashMap networkAccessPoaMap
           
protected  java.util.HashMap networks
           
 
Constructor Summary
NetworkServantLocator(edu.sc.seis.fissuresUtil.database.network.JDBCChannel jdbcChannel, org.omg.PortableServer.POA myPOA)
           
 
Method Summary
 java.lang.String networkIdToObjKey(NetworkId id)
           
 java.lang.String objKeyToNetworkCode(java.lang.String objKey)
           
 NetworkId objKeyToNetworkId(java.lang.String objKey)
           
 void postinvoke(byte[] oid, org.omg.PortableServer.POA adapter, java.lang.String operation, java.lang.Object the_cookie, org.omg.PortableServer.Servant the_servant)
           
 org.omg.PortableServer.Servant preinvoke(byte[] oid, org.omg.PortableServer.POA adapter, java.lang.String operation, org.omg.PortableServer.ServantLocatorPackage.CookieHolder the_cookie)
           
 void refresh()
           
 
Methods inherited from class org.omg.PortableServer.ServantLocatorPOA
_all_interfaces, _invoke, _this, _this
 
Methods inherited from class org.omg.PortableServer.Servant
_default_POA, _get_delegate, _get_interface_def, _is_a, _non_existent, _object_id, _orb, _poa, _set_delegate, _this_object, _this_object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jdbcChannel

protected edu.sc.seis.fissuresUtil.database.network.JDBCChannel jdbcChannel

networks

protected java.util.HashMap networks

networkAccessPoaMap

protected java.util.HashMap networkAccessPoaMap

myPOA

protected org.omg.PortableServer.POA myPOA
Constructor Detail

NetworkServantLocator

public NetworkServantLocator(edu.sc.seis.fissuresUtil.database.network.JDBCChannel jdbcChannel,
                             org.omg.PortableServer.POA myPOA)
                      throws java.sql.SQLException,
                             edu.sc.seis.fissuresUtil.database.NotFound
Throws:
java.sql.SQLException
edu.sc.seis.fissuresUtil.database.NotFound
Method Detail

preinvoke

public org.omg.PortableServer.Servant preinvoke(byte[] oid,
                                                org.omg.PortableServer.POA adapter,
                                                java.lang.String operation,
                                                org.omg.PortableServer.ServantLocatorPackage.CookieHolder the_cookie)

postinvoke

public void postinvoke(byte[] oid,
                       org.omg.PortableServer.POA adapter,
                       java.lang.String operation,
                       java.lang.Object the_cookie,
                       org.omg.PortableServer.Servant the_servant)

refresh

public void refresh()
             throws java.sql.SQLException,
                    edu.sc.seis.fissuresUtil.database.NotFound
Throws:
java.sql.SQLException
edu.sc.seis.fissuresUtil.database.NotFound

networkIdToObjKey

public java.lang.String networkIdToObjKey(NetworkId id)

objKeyToNetworkCode

public java.lang.String objKeyToNetworkCode(java.lang.String objKey)

objKeyToNetworkId

public NetworkId objKeyToNetworkId(java.lang.String objKey)


Copyright © 2004-2007 Seismology at the University of South Carolina. All Rights Reserved.