All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class AcmeNet.Assn3.SecureService

AcmeNet.Assn2.Service
   |
   +----AcmeNet.Assn3.SecureService

public abstract class SecureService
extends Service
A Service that uses authenticated connections. To build your own secure service, write a class that extends this class and implement the serviceConnection method.

See Also:
SecureConnection, Service

Constructor Index

 o SecureService(String, long)

Method Index

 o _internal_servConn(Connection)
A method used by the AcmeNet implementation.

Constructors

 o SecureService
 public SecureService(String username,
                      long key)
Parameters:
username - the name of the user who owns this process
key - the private key of the user who owns this process

Methods

 o _internal_servConn
 public void _internal_servConn(Connection c)
A method used by the AcmeNet implementation. Don't override it unless you really know what you're doing.

Overrides:
_internal_servConn in class Service

All Packages  Class Hierarchy  This Package  Previous  Next  Index