haendler
Class ClientSalesMan

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--haendler.ClientSalesMan
All Implemented Interfaces:
org.ssonet.net.ConnectionListener, java.lang.Runnable

public class ClientSalesMan
extends java.lang.Thread
implements org.ssonet.net.ConnectionListener

Kapselt die Kommunikation via Sockets mit dem Client.

Version:
$Id: ClientSalesMan.java,v 1.10 2004/02/12 08:12:41 tk4 Exp $
Author:
lehrprojekt, Thomas Kriegelstein

Field Summary
protected static javax.xml.parsers.DocumentBuilder db
           
protected static javax.xml.parsers.DocumentBuilderFactory dbf
           
protected static javax.xml.transform.Transformer t
           
protected static javax.xml.transform.TransformerFactory tf
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Fields inherited from interface org.ssonet.net.ConnectionListener
FINISHED_STATE, INIT_STATE, MECHANISMS_NEGOTIATION, NOT_STARTED_STATE, RUNNING_STATE, SECURITY_GOAL_NEGOTIATION
 
Constructor Summary
ClientSalesMan(org.ssonet.net.impl.SSONETServerClientSocket s, haendler.Haendler haendler)
           
 
Method Summary
 void connect()
           
 void connectionStateChanged(org.ssonet.net.SSONETContext context, int currentState)
           
 boolean decideSecurityGoal(int securityGoal, org.ssonet.net.ActionConfiguration ownConfiguration, org.ssonet.net.SSONETContext context)
           
 void negotiationRequestReceived(org.ssonet.net.SSONETContext context, int negotiationType)
           
 void run()
           
 void waitFor(org.ssonet.net.SSONETContext context)
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

dbf

protected static javax.xml.parsers.DocumentBuilderFactory dbf

db

protected static javax.xml.parsers.DocumentBuilder db

tf

protected static javax.xml.transform.TransformerFactory tf

t

protected static javax.xml.transform.Transformer t
Constructor Detail

ClientSalesMan

public ClientSalesMan(org.ssonet.net.impl.SSONETServerClientSocket s,
                      haendler.Haendler haendler)
Method Detail

connectionStateChanged

public void connectionStateChanged(org.ssonet.net.SSONETContext context,
                                   int currentState)
Specified by:
connectionStateChanged in interface org.ssonet.net.ConnectionListener

waitFor

public void waitFor(org.ssonet.net.SSONETContext context)

connect

public void connect()

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

negotiationRequestReceived

public void negotiationRequestReceived(org.ssonet.net.SSONETContext context,
                                       int negotiationType)
Specified by:
negotiationRequestReceived in interface org.ssonet.net.ConnectionListener

decideSecurityGoal

public boolean decideSecurityGoal(int securityGoal,
                                  org.ssonet.net.ActionConfiguration ownConfiguration,
                                  org.ssonet.net.SSONETContext context)
Specified by:
decideSecurityGoal in interface org.ssonet.net.ConnectionListener


Copyright © 2003 DRIM Team. All Rights Reserved.