kaos.kpat.tunnel
Class TunnelClient

java.lang.Object
  extended by kaos.core.service.util.MethodCallProxy
      extended by kaos.core.service.directory.DirectoryServiceProxy
          extended by kaos.kpat.tunnel.TunnelClient
All Implemented Interfaces:
OntologyService, PolicyAdvice, PolicyChecking, PolicyManagement, AuthenticationInterface, DirectoryEventNotifier, DirectoryService, MsgSender, DomainDirectoryService, DefinedPolicyTemplateInterface, OntologyRepositoryService, QueryKAoSOntologyService, GuardSynchronization, PolicyAnalyzes, PolicyModification, PolicySetDirectory, XMLRepository

public class TunnelClient
extends DirectoryServiceProxy
implements MsgSender


Nested Class Summary
 
Nested classes/interfaces inherited from class kaos.core.service.util.MethodCallProxy
MethodCallProxy.OperationWaiter
 
Nested classes/interfaces inherited from interface kaos.core.csi.policy.PolicyManagement
PolicyManagement.OntologyPolicyIncorrect, PolicyManagement.PrecedenceUndeterminedException
 
Nested classes/interfaces inherited from interface kaos.policy.management.PolicyAnalyzes
PolicyAnalyzes.PriorityConditionNotMet
 
Field Summary
 
Fields inherited from class kaos.core.service.directory.DirectoryServiceProxy
_serviceProps, localOntologyInterfaces
 
Fields inherited from class kaos.core.service.util.MethodCallProxy
_logger, _msgSender, _waiters
 
Constructor Summary
TunnelClient()
           
 
Method Summary
 void connectToDS(java.lang.String url)
           
 void loadOntology(java.lang.String s, boolean b, javax.swing.ProgressMonitor pm)
           
 void receiveMessage(Msg msg)
           
 void registerKAoSExtensionComponentObserver(java.lang.String repType, java.lang.String ontType, java.util.Hashtable updateTypes, KAoSEntityDescription entityDesc)
           
 void registerObserver(java.util.Hashtable updateTypes, KAoSObserver observer)
           
 void sendMessage(Msg msg)
           
 
Methods inherited from class kaos.core.service.directory.DirectoryServiceProxy
addAuthenticationObject, addDefinedPolicyTemplate, addEntityOntologicalType, addEventListener, addFilteredNamespace, addPolicies, addPolicy, addPolicy, addPolicySet, addPolicySets, addPolicyUpdateListener, addRemoteEventListener, analyzeWorkflow, analyzeWorkflow, areClassesDisjoint, askQuery, changeComponentEnabledStatus, changedPriority, changePolicies, changePolicy, changePolicy, changePolicySet, changePolicySets, checkDeepPermission, checkDeregisterResult, checkModifyResult, checkPermission, checkRegisterResult, checkSearchResult, createAgentDescription, createMessageToSend, declareInstance, deleteAllLogs, deleteLogsforActionType, deleteLogsforActor, deleteSpecifiedLogs, deregister, editAuthenticationObject, editDefinedPolicyTemplate, findConflictingPolicies, findPolicies, findPoliciesMadeRedundant, findPoliciesMakingRedundant, findPolicyDecision, getActions, getAgentDescriptionForAgentID, getAllAgentsInDirectory, getAllAgentsInDomain, getAllAuthenticationObjects, getAllDefinedPolicyTemplate, getAllDomainsInDirectory, getAllGuardsInDirectory, getAllLogs, getAllNamespaces, getAllowableValuesForActionProperties, getAllowableValuesForActionProperties, getAllowableValuesForActionProperty, getAllPolicies, getAllPoliciesFor, getAllSchema, getClassesDefInNamespace, getClassesOfActors, getClassesOfActorsCapableOfPerformingActions, getClassesOfGroups, getClassesOfPlaces, getClassesOfTargets, getComponentEnabledStatus, getConstructedOntologyStructure, getConstructedOntologyStructures, getDirectPoliciesFor, getDomainDescription, getDomainDescriptionsForGuard, getDomainNames, getDomainStructure, getFilteredNamespaces, getForbiddenValuesForActionProperty, getGuardDescriptionsForEntity, getGuardStateFor, getImmediateSubClassesOf, getIndividualActors, getIndividualGroups, getIndividualPlaces, getIndividualTargets, getInstancesDefInNamespace, getInstancesOf, getListOfLoadedOntologies, getLogsforActionType, getLogsforActor, getNamspacesImportedByNamespace, getObligationsForTriggerCondition, getOntologyDefinitionForConcept, getPolicies, getPoliciesByEntities, getPolicy, getPolicyInformation, getPolicySet, getPolicySets, getPolicyUpdateCount, getPropertiesApplicableTo, getPropertiesDefInNamespace, getRangeOnPropertyForClass, getRepositoryTableInformation, getResourcesWithValueForProperty, getRootDomains, getSchema, getServiceProperties, getSpecifiedLogs, getSubClassesOf, getSubdomains, getSubPropertiesOf, getSuperClassesOf, getSuperPropertiesOf, getUltimateOntologyTypesOfIndividual, getUniqueValueForProperty, getValuesForProperty, harmonizePolicy, init, initiateActionClassTargets, instancesSetSynchronizationRequest, invokeKAoSExtensionComponentMethod, invokeMethod, isEntityInDomain, isFullyOverlappedBySecondPolicy, isFullyOverlappedByUnionOfPolicies, isGuardLoggingActive, isMadeFullyRedundantByPolicyUnion, isMadeFullyRedundantBySecond, isMadeParitallyRedundantBySecond, isPartiallyOverlappedBySecondPolicy, isPolicyInConflict, isPolicyMakingRedundantSomeOtherPolicy, isPolicyRedundant, isSynchronizationNeeded, isUsernameRegistered, loadOntologies, loadOntology, loadOntology, loadOntology, loadSchema, modify, modifyEntityProperties, policiesSynchronizationRequest, putConstructedOntologyStructures, putMultipleSchema, putSchema, register, removeAllPolicies, removeAuthenticationObject, removeConstructedOntologyStructure, removeConstructedOntologyStructures, removeDefinedPolicyTemplate, removeEventListener, removeExecEnv, removeFilteredNamespace, removePolicies, removePolicy, removePolicy, removePolicyInformation, removePolicySet, removePolicySets, removePolicyUpdateListener, removeRemoteEventListener, removeSchema, search, search, setGuardLoggingState, setServiceProperties, splitPolicy, subclassesSetSynchronizationRequest, subpropertiesSetSynchronizationRequest, superclassesSetSynchronizationRequest, superpropertiesSetSynchronizationRequest, testTrue, updateInForceValue, updatePolicies
 
Methods inherited from class kaos.core.service.util.MethodCallProxy
getResult, getResult, notifyWaitersOfError, sendRequestNoWait
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TunnelClient

public TunnelClient()
Method Detail

connectToDS

public void connectToDS(java.lang.String url)
                 throws java.io.IOException
Throws:
java.io.IOException

registerObserver

public void registerObserver(java.util.Hashtable updateTypes,
                             KAoSObserver observer)
                      throws java.lang.Exception
Throws:
java.lang.Exception

registerKAoSExtensionComponentObserver

public void registerKAoSExtensionComponentObserver(java.lang.String repType,
                                                   java.lang.String ontType,
                                                   java.util.Hashtable updateTypes,
                                                   KAoSEntityDescription entityDesc)
                                            throws java.lang.Exception
Throws:
java.lang.Exception

receiveMessage

public void receiveMessage(Msg msg)
Overrides:
receiveMessage in class MethodCallProxy

loadOntology

public void loadOntology(java.lang.String s,
                         boolean b,
                         javax.swing.ProgressMonitor pm)
                  throws java.io.IOException,
                         OntologyRepository.ReasoningException,
                         DirectoryFailure
Throws:
java.io.IOException
OntologyRepository.ReasoningException
DirectoryFailure

sendMessage

public void sendMessage(Msg msg)
                 throws java.io.IOException
Specified by:
sendMessage in interface MsgSender
Overrides:
sendMessage in class MethodCallProxy
Throws:
java.io.IOException