edu.sc.seis.fissuresUtil.cache
Class NSSeismogramDC
java.lang.Object
edu.sc.seis.fissuresUtil.cache.NSSeismogramDC
- All Implemented Interfaces:
- DataCenterOperations, CorbaServerWrapper, ProxySeismogramDC, ServerNameDNS
public class NSSeismogramDC
- extends java.lang.Object
- implements ServerNameDNS, ProxySeismogramDC
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
serverDNS
protected java.lang.String serverDNS
serverName
protected java.lang.String serverName
nameService
protected FissuresNamingService nameService
NSSeismogramDC
public NSSeismogramDC(java.lang.String serverDNS,
java.lang.String serverName,
FissuresNamingService fissuresNamingService)
getWrappedDC
public DataCenterOperations getWrappedDC()
- Description copied from interface:
ProxySeismogramDC
- Returns the DataCenterOperations directly inside of this one
- Specified by:
getWrappedDC in interface ProxySeismogramDC
getWrappedDC
public DataCenterOperations getWrappedDC(java.lang.Class wrappedClass)
- Description copied from interface:
ProxySeismogramDC
- Traverses through all of the ProxySeismogramDCs contained by this one, or
the one it contains and if it finds one of the passed in class, returns
it. If there isn't one, it throws IllegalArgumentException
- Specified by:
getWrappedDC in interface ProxySeismogramDC
getServerDNS
public java.lang.String getServerDNS()
- Specified by:
getServerDNS in interface CorbaServerWrapper
getServerName
public java.lang.String getServerName()
- Specified by:
getServerName in interface CorbaServerWrapper
getFullName
public java.lang.String getFullName()
- Specified by:
getFullName in interface CorbaServerWrapper
getServerType
public java.lang.String getServerType()
- Specified by:
getServerType in interface CorbaServerWrapper
reset
public void reset()
- Description copied from interface:
ProxySeismogramDC
- Resets the proxy, potentially removing any cached data and reresolving
the corba reference.
- Specified by:
reset in interface CorbaServerWrapper- Specified by:
reset in interface ProxySeismogramDC
getCorbaObject
public org.omg.CORBA.Object getCorbaObject()
- Description copied from interface:
ProxySeismogramDC
- Gets the real corba DataCenter object for which this is a proxy.
- Specified by:
getCorbaObject in interface ProxySeismogramDC- Specified by:
getCorbaObject in interface ServerNameDNS
getDataCenter
public DataCenter getDataCenter()
repackageException
protected void repackageException(org.omg.CORBA.UserException e)
queue_seismograms
public java.lang.String queue_seismograms(RequestFilter[] a_filterseq)
throws FissuresException
- Specified by:
queue_seismograms in interface DataCenterOperations
- Throws:
FissuresException
retrieve_queue
public LocalSeismogram[] retrieve_queue(java.lang.String a_request)
throws FissuresException
- Specified by:
retrieve_queue in interface DataCenterOperations
- Throws:
FissuresException
available_data
public RequestFilter[] available_data(RequestFilter[] a_filterseq)
- Specified by:
available_data in interface DataCenterOperations
cancel_request
public void cancel_request(java.lang.String a_request)
throws FissuresException
- Specified by:
cancel_request in interface DataCenterOperations
- Throws:
FissuresException
request_seismograms
public java.lang.String request_seismograms(RequestFilter[] a_filterseq,
DataCenterCallBack a_client,
boolean long_lived,
Time expiration_time)
throws FissuresException
- Specified by:
request_seismograms in interface DataCenterOperations
- Throws:
FissuresException
request_status
public java.lang.String request_status(java.lang.String a_request)
throws FissuresException
- Specified by:
request_status in interface DataCenterOperations
- Throws:
FissuresException
retrieve_seismograms
public LocalSeismogram[] retrieve_seismograms(RequestFilter[] a_filterseq)
throws FissuresException
- Specified by:
retrieve_seismograms in interface DataCenterOperations
- Throws:
FissuresException
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object