Package com.sun.sgs.app

Provides the interface to the Project Darkstar Server used by application developers.

See:
          Description

Interface Summary
AppListener Listener for application-level events.
Channel Interface representing a communication group, a Channel, consisting of multiple client sessions.
ChannelListener Listener for messages received on a channel.
ChannelManager Manager for creating and obtaining channels.
ClientSession Interface representing a single, connected login session between a client and the server.
ClientSessionListener Listener for messages sent from an associated client session to the server.
DataManager Provides facilities for managing access to shared, persistent objects.
ExceptionRetryStatus Implemented by exception classes that want to control whether an operation that throws an exception of that exception should be retried.
ManagedObject A marker interface implemented by shared, persistent objects managed by DataManager.
ManagedObjectRemoval An interface that managed objects should implement in order to be notified when they are being removed from the DataManager.
ManagedReference<T> Represents a reference to a managed object.
PeriodicTaskHandle Provides facilities for managing a Task scheduled with the TaskManager to run periodically.
Task Defines an application operation that will be run by the TaskManager.
TaskManager Provides facilities for scheduling tasks.
 

Class Summary
AppContext Provides access to facilities available in the current application context.
 

Enum Summary
Delivery Representation for message delivery guarantees.
 

Exception Summary
DeliveryNotSupportedException An exception that indicates a delivery guarantee is not supported.
ManagerNotFoundException Thrown when a requested manager is not found.
MessageRejectedException Thrown when an operation fails because there are not enough resources to send or receive a message.
NameExistsException Thrown when an operation fails because it referred to a name that is currently bound to an object.
NameNotBoundException Thrown when an operation fails because it referred to a name that was not bound to an object.
ObjectIOException Thrown when an operation fails because of an I/O failure when attempting to access a managed object.
ObjectNotFoundException Thrown when an operation fails because it attempted to refer to a managed object that was not found.
ResourceUnavailableException Thrown when an operation fails because a resource, necessary for the operation, is unavailable.
TaskRejectedException Thrown when an attempt to schedule a task fails because the TaskManager refuses to accept the task due to resource limitations.
TransactionAbortedException Thrown when an operation fails because the system aborted the current transaction during the operation.
TransactionConflictException Thrown when an operation fails because the system aborted the current transaction when it detected a conflict with another transaction.
TransactionException Thrown when an operation fails because of a problem with the current transaction.
TransactionNotActiveException Thrown when an operation fails because there is no current, active transaction.
TransactionTimeoutException Thrown when an operation fails because the system aborted the current transaction when it exceeded the maximum permitted duration.
 

Annotation Types Summary
RunWithNewIdentity An annotation that instructs the system to associate a new owning identity with a task.
 

Package com.sun.sgs.app Description

Provides the interface to the Project Darkstar Server used by application developers.


Project Darkstar, Version 0.9.9.6
2009-05-08 15:39:40

Copyright © 2007-2009 Sun Microsystems, Inc. All rights reserved