zeus.actors
Class Connection

java.lang.Object
  extended byzeus.actors.Connection

class Connection
extends java.lang.Object


Field Summary
protected static int BUF_SIZ
           
protected  java.net.Socket client
           
(package private)  java.lang.String id
           
protected  java.io.BufferedInputStream ins
           
protected  Server server
           
private static java.lang.Integer token
           
 
Constructor Summary
Connection()
           
Connection(java.net.Socket client, Server server, java.lang.String id)
           
 
Method Summary
private  void debug(java.lang.String str)
           
protected  void finalize()
          decrypt returns the decrypted string which can then be converted into a performative and passed to the inbox
 boolean isEncrypted(java.lang.String text)
          isEncrypted returns true if this message is encrypted.
 void run()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BUF_SIZ

protected static int BUF_SIZ

token

private static java.lang.Integer token

client

protected java.net.Socket client

server

protected Server server

ins

protected java.io.BufferedInputStream ins

id

java.lang.String id
Constructor Detail

Connection

public Connection()

Connection

public Connection(java.net.Socket client,
                  Server server,
                  java.lang.String id)
Method Detail

run

public void run()

isEncrypted

public boolean isEncrypted(java.lang.String text)
isEncrypted returns true if this message is encrypted.


finalize

protected void finalize()
decrypt returns the decrypted string which can then be converted into a performative and passed to the inbox


toString

public java.lang.String toString()

debug

private void debug(java.lang.String str)


Copyright © 2000-2003 BT Exact Technologies. All Rights Reserved.