A C D E F G H I L M O P R S T U

A

addAdminPassword(String) - Method in class tw.net.ocs.OCSServer
Adds a password allowing administrative access to the server.
addAdminPassword(String) - Method in interface tw.net.ocs.OCSServerAdminInterface
Adds a password allowing administrative access to the server.
addAdminPasswords(String[]) - Method in class tw.net.ocs.OCSServer
Adds one or more password(s) allowing administrative access to the server.
addAdminPasswords(String[]) - Method in interface tw.net.ocs.OCSServerAdminInterface
Adds one or more password(s) allowing administrative access to the server.
addSubject(Object, Class, String, boolean) - Method in class tw.net.ocs.OCSServer
Adds a subject associated with some class to the server.
addSubject(Object, Class, String) - Method in class tw.net.ocs.OCSServer
Adds a subject associated with some class to the server.
addSubject(Object, String, boolean) - Method in class tw.net.ocs.OCSServer
Adds a subject to the server.
addSubject(Object, String) - Method in class tw.net.ocs.OCSServer
Adds a subject to the server.
addSubject(Object, boolean) - Method in class tw.net.ocs.OCSServer
Adds a subject to the server.
addSubject(Object) - Method in class tw.net.ocs.OCSServer
Adds a subject to the server.
addSubject(Object, Class, String, boolean) - Method in interface tw.net.ocs.OCSServerUserInterface
Adds a subject associated with some class to the server.
addSubject(Object, Class, String) - Method in interface tw.net.ocs.OCSServerUserInterface
Adds a subject associated with some class to the server.
addSubject(Object, String, boolean) - Method in interface tw.net.ocs.OCSServerUserInterface
Adds a subject to the server.
addSubject(Object, String) - Method in interface tw.net.ocs.OCSServerUserInterface
Adds a subject to the server.
addSubject(Object, boolean) - Method in interface tw.net.ocs.OCSServerUserInterface
Adds a subject to the server.
addSubject(Object) - Method in interface tw.net.ocs.OCSServerUserInterface
Adds a subject to the server.
addUserPassword(String) - Method in class tw.net.ocs.OCSServer
Adds a password allowing user access to the server.
addUserPassword(String) - Method in interface tw.net.ocs.OCSServerAdminInterface
Adds a password allowing user access to the server.
addUserPasswords(String[]) - Method in class tw.net.ocs.OCSServer
Adds one or more password(s) allowing user access to the server.
addUserPasswords(String[]) - Method in interface tw.net.ocs.OCSServerAdminInterface
Adds one or more password(s) allowing user access to the server.
allowClientIP(String) - Method in interface tw.net.ocs.OCSServerAdminInterface
Adds an IP address or address pattern for clients acceptable by this server.
allowClientIP(String) - Method in class tw.net.Server
Adds an IP address or address pattern for clients acceptable by this server.
allowClientIPs(String[]) - Method in interface tw.net.ocs.OCSServerAdminInterface
Adds one or more IP address patterns for clients acceptable by this server.
allowClientIPs(String[]) - Method in class tw.net.Server
Adds one or more IP address patterns for clients acceptable by this server.
allowSubjectClass(Class) - Method in class tw.net.ocs.OCSServer
Allows the hosting of subjects of a certain class.
allowSubjectClass(Class) - Method in interface tw.net.ocs.OCSServerAdminInterface
Allows the hosting of subjects of a certain class.
allowSubjectClasses(String[]) - Method in class tw.net.ocs.OCSServer
Allows the hosting of subjects of certain classes.
allowSubjectClasses(String[]) - Method in interface tw.net.ocs.OCSServerAdminInterface
Allows the hosting of subjects of certain classes.

C

createInstance(String, int, String, boolean) - Static method in class tw.net.ocs.OCSClient
Creates and returns an OCSClient instance.
createInstance() - Static method in class tw.net.ocs.OCSClient
Creates and returns an OCSClient instance with default parameters.
createInstance(OCSServer, String, boolean) - Static method in class tw.net.ocs.OCSClient
Creates and returns an OCSClient instance which communicates with an OCSServer identified by object.
createInstance(int, String) - Static method in class tw.net.ocs.OCSServer
Creates a server instance listening on a certain port.
createInstance() - Static method in class tw.net.ocs.OCSServer
Creates a server instance with default values.

D

DEFAULT_PORT - Static variable in class tw.net.Server
default port (23229)
detachProxy(Class, String) - Method in class tw.net.ocs.OCSClient
Detaches a proxy from its subject.
disconnect() - Method in class tw.net.ocs.OCSClient
Disconnects the OCSClient from the server.

E

encryptAccordingToClient(boolean) - Method in class tw.net.ocs.OCSServer
Sets the server to accept both encrypting and non-encrypting clients.
encryptAccordingToClient(boolean) - Method in interface tw.net.ocs.OCSServerAdminInterface
Sets the server to accept both encrypting and non-encrypting clients.
existsSubject(Class, String) - Method in class tw.net.ocs.OCSServer
Tells whether a certain subject exists on this server
existsSubject(Class) - Method in class tw.net.ocs.OCSServer
Tells whether at least one subject of a certain class exists on this server
existsSubject(Class) - Method in interface tw.net.ocs.OCSServerUserInterface
Tells whether at least one subject of a certain class exists on this server
existsSubject(Class, String) - Method in interface tw.net.ocs.OCSServerUserInterface
Tells whether a certain subject exists on this server

F

forbidClientIP(String) - Method in interface tw.net.ocs.OCSServerAdminInterface
Adds an IP address or address pattern for clients not acceptable by this server.
forbidClientIP(String) - Method in class tw.net.Server
Adds an IP address or address pattern for clients not acceptable by this server.
forbidClientIPs(String[]) - Method in interface tw.net.ocs.OCSServerAdminInterface
Adds one or more IP address patterns for clients not acceptable by this server.
forbidClientIPs(String[]) - Method in class tw.net.Server
Adds one or more IP address patterns for clients not acceptable by this server.
forbidSubjectClass(Class) - Method in class tw.net.ocs.OCSServer
Forbids the hosting of subjects of a certain class.
forbidSubjectClass(Class) - Method in interface tw.net.ocs.OCSServerAdminInterface
Forbids the hosting of subjects of a certain class.
forbidSubjectClasses(String[]) - Method in class tw.net.ocs.OCSServer
Forbids the hosting of subjects of certain classes.
forbidSubjectClasses(String[]) - Method in interface tw.net.ocs.OCSServerAdminInterface
Forbids the hosting of subjects of certain classes.

G

generateInterfaceForClass(Class, String, String, String, String) - Static method in class tw.net.ocs.OCSInterfaceFactory
Generates the source code for a new interface which declares all the public methods of an existing class.
generateInterfaceForClass(Class) - Static method in class tw.net.ocs.OCSInterfaceFactory
Generates the source code for a new interface which declares all the public methods of an existing class.
generateProxyCodeFor(Class, String[], String[], String) - Static method in class tw.net.ocs.OCSClassProxyFactory
Generates source code for a proxy class of a given (subject) class.
generateProxyFor(Class[], Class, String, OCSClient, boolean) - Static method in class tw.net.ocs.OCSInterfaceProxyFactory
Creates an object which implements one or more interfaces and functions as a proxy of a server-side subject.
generateProxyFor(Class[], Class, String) - Static method in class tw.net.ocs.OCSInterfaceProxyFactory
Creates an object which implements one or more interfaces and functions as a proxy of a server-side subject.
generateProxyFor(Class, Class, String, OCSClient, boolean) - Static method in class tw.net.ocs.OCSInterfaceProxyFactory
Creates an object which implements an interface and allows to call a server-side subject.
generateProxyFor(Class, Class, String) - Static method in class tw.net.ocs.OCSInterfaceProxyFactory
Creates an object which implements an interface and functions as a proxy of a server-side subject.
getHostAddress() - Method in interface tw.net.ocs.OCSServerUserInterface
Returns the IP of the host
getHostAddress() - Method in class tw.net.Server
Returns the IP of the host
getHostName() - Method in interface tw.net.ocs.OCSServerUserInterface
Returns the name of the host
getHostName() - Method in class tw.net.Server
Returns the name of the host
getInstance(OCSServer) - Static method in class tw.net.ocs.OCSClient
Returns an instance connected to a server specified by instance.
getInstance(String, int) - Static method in class tw.net.ocs.OCSClient
Returns an instance connected to a server specified by host and port.
getInstance(String) - Static method in class tw.net.ocs.OCSClient
Returns an OCSClient instance identified by name
getInstance(String) - Static method in class tw.net.ocs.OCSServer
Returns a server instance identified by name
getInstance(int) - Static method in class tw.net.ocs.OCSServer
Returns a server instance identified by its port
getInstances() - Static method in class tw.net.ocs.OCSClient
Returns all instances.
getInstances() - Static method in class tw.net.ocs.OCSServer
Returns all instances.
getName() - Method in class tw.net.ocs.OCSClient
Returns the name of the instance.
getName() - Method in class tw.net.ocs.OCSServer
Returns the name of the instance.
getPort() - Method in interface tw.net.ocs.OCSServerUserInterface
Returns the port which this server listens at
getPort() - Method in class tw.net.Server
Returns the port which this server listens at
getPriority() - Method in interface tw.net.ocs.OCSServerAdminInterface
 
getPriority() - Method in class tw.net.Server
Informs about the main server thread's priority
getServerAddress() - Method in class tw.net.ocs.OCSClient
Returns the address of the server connected to this OCSClient.
getServerAdminProxy() - Method in class tw.net.ocs.OCSClient
Returns an object that allows to call admin methods on the server.
getServerHost() - Method in class tw.net.ocs.OCSClient
Returns the host address of the server.
getServerPort() - Method in class tw.net.ocs.OCSClient
Returns the port of the server.
getServerUserProxy() - Method in class tw.net.ocs.OCSClient
Returns an object that allows to call methods on the server that are open to all users.
getStandardInstance() - Static method in class tw.net.ocs.OCSClient
Returns the currently standard OCSClient instance
getSubject(Class, String) - Method in class tw.net.ocs.OCSServer
Returns an identified instance of a subject class.
getSubject(Class) - Method in class tw.net.ocs.OCSServer
Returns an arbitrary instance of a subject class
getSubject(Class, String) - Method in interface tw.net.ocs.OCSServerUserInterface
Returns an identified instance of a subject class.
getSubject(Class) - Method in interface tw.net.ocs.OCSServerUserInterface
Returns an arbitrary instance of a subject class
getSubjectClasses() - Method in class tw.net.ocs.OCSServer
Returns the classes of which instances (subjects) exist on this server
getSubjectClasses() - Method in interface tw.net.ocs.OCSServerUserInterface
Returns the classes of which instances (subjects) exist on this server
getSubjectID(Class) - Method in class tw.net.ocs.OCSServer
Returns the ID of an arbitrary instance of a subject class
getSubjectID(Class) - Method in interface tw.net.ocs.OCSServerUserInterface
Returns the ID of an arbitrary instance of a subject class
getSubjectNames(Class) - Method in class tw.net.ocs.OCSServer
Returns the names of subjects of a certain class.
getSubjectNames(Class) - Method in interface tw.net.ocs.OCSServerUserInterface
Returns the names of subjects of a certain class.

H

hashCode() - Method in interface tw.net.ocs.OCSServerAdminInterface
 

I

init(OCSClient) - Static method in class tw.net.ocs.OCSInterfaceProxyFactory
Optionally initializes the factory by setting an OCSClient to use in the absence of an explicit specification.
isDaemon() - Method in interface tw.net.ocs.OCSServerAdminInterface
 
isDaemon() - Method in class tw.net.Server
Tells whether the main server thread has daemon quality
isLocal() - Method in class tw.net.ocs.OCSClient
Tells whether the client is working in local mode, referencing the server directly
isLocal() - Method in class tw.net.ocs.OCSServer
Tells whether the server is working in local mode, configured to be referenced directly by a client
isLocal() - Method in interface tw.net.ocs.OCSServerUserInterface
Tells whether the server is working in local mode, configured to be referenced directly by a client
isStandardInstance() - Method in class tw.net.ocs.OCSClient
Tells whether this instance is the current standard instance.

L

LOCAL - Static variable in class tw.net.Server
pseudo port value for servers directly linked to clients

M

main(String[]) - Static method in class tw.net.ocs.OCSClassProxyFactory
Generates source code for a proxy class of a given (subject) class.
main(String[]) - Static method in class tw.net.ocs.OCSClient
Allows to stop and ping a server, also to retrieve version information.
main(String[]) - Static method in class tw.net.ocs.OCSInterfaceFactory
Generates the source code for a new interface which declares all the public methods of an existing class.
main(String[]) - Static method in class tw.net.ocs.OCSServer
Allows to start and stop an OCSServer, also to retrieve version information.
main(String[]) - Static method in class tw.net.Server
 

O

OCSClassProxy - Interface in tw.net.ocs
Interface implemented by all class proxies as generated by the OCSClassProxyFactory
OCSClassProxyFactory - Class in tw.net.ocs
Generates source code for class proxies communicating transparently with server-side subjects.
OCSClassProxyFactory() - Constructor for class tw.net.ocs.OCSClassProxyFactory
 
OCSClient - Class in tw.net.ocs
OCSClient manages communication of client-side proxies with their server-side subjects via an associated OCSServer.
ocsDetachFromSubject() - Method in interface tw.net.ocs.OCSProxy
Detaches the proxy from its subject.
OCSException - Exception in tw.net.ocs
Checked exception
ocsGetClient() - Method in interface tw.net.ocs.OCSProxy
Returns the OCSClient used by the proxy to forward requests to the subject.
ocsGetSubjectAddress() - Method in interface tw.net.ocs.OCSProxy
Returns the address of the server hosting the proxy's subject.
ocsGetSubjectID() - Method in interface tw.net.ocs.OCSProxy
Returns the ID of the proxy's subject.
ocsImplementsSubjectAllMethods() - Method in interface tw.net.ocs.OCSInterfaceProxy
Tells whether the subject which this interface proxy is associated with, provides every method declared in the interface(s).
OCSInterfaceFactory - Class in tw.net.ocs
Generates code for interfaces derived from existing classes.
OCSInterfaceProxy - Interface in tw.net.ocs
Interface implemented by all interface proxies as generated by the OCSInterfaceProxyFactory
OCSInterfaceProxyFactory - Class in tw.net.ocs
Generates interface proxies through which server-side subjects may be called.
OCSProxy - Interface in tw.net.ocs
Interface implemented by all OCSProxies as generated by the OCSClassProxyFactory or the OCSInterfaceProxyFactory.
OCSRuntimeException - Exception in tw.net.ocs
Unchecked exception, thrown by methods of proxies if something serious goes wrong on the server side
OCSServer - Class in tw.net.ocs
The OCSServer receives requests from the client-side proxies and routes them to associated subjects.
OCSServerAdminInterface - Interface in tw.net.ocs
An interface containing OCSServer methods accessible to administrators.
OCSServerUserInterface - Interface in tw.net.ocs
An interface containing OCSServer methods accessible to all users.

P

ping() - Method in class tw.net.ocs.OCSServer
A convenience method to check the server's accessibility
ping() - Method in interface tw.net.ocs.OCSServerAdminInterface
A convenience method to check the server's accessibility
pleaseStop() - Method in interface tw.net.ocs.OCSServerAdminInterface
 
pleaseStop() - Method in class tw.net.Server
Asks the server to stop working

R

removeAdminPassword(String) - Method in class tw.net.ocs.OCSServer
Removes a password allowing administrative access to the server.
removeAdminPassword(String) - Method in interface tw.net.ocs.OCSServerAdminInterface
Adds one or more password(s) allowing administrative access to the server.
removeAdminPasswords() - Method in class tw.net.ocs.OCSServer
Removes all passwords allowing administrative access to the server.
removeAdminPasswords() - Method in interface tw.net.ocs.OCSServerAdminInterface
Removes all passwords allowing administrative access to the server.
removeSubject(Class, String) - Method in class tw.net.ocs.OCSServer
Removes a subject from this server
removeSubject(Class, String) - Method in interface tw.net.ocs.OCSServerUserInterface
Removes a subject from this server
removeSubjects(Class) - Method in class tw.net.ocs.OCSServer
Removes all subjects of a given class from this server
removeSubjects() - Method in class tw.net.ocs.OCSServer
Removes all subjects from this server
removeSubjects(Class) - Method in interface tw.net.ocs.OCSServerUserInterface
Removes all subjects of a given class from this server
removeSubjects() - Method in interface tw.net.ocs.OCSServerUserInterface
Removes all subjects from this server
removeUserPassword(String) - Method in class tw.net.ocs.OCSServer
Removes a password allowing user access to the server.
removeUserPassword(String) - Method in interface tw.net.ocs.OCSServerAdminInterface
Removes a password allowing user access to the server.
removeUserPasswords() - Method in class tw.net.ocs.OCSServer
Removes all passwords allowing user access to the server.
removeUserPasswords() - Method in interface tw.net.ocs.OCSServerAdminInterface
Removes all passwords allowing user access to the server.

S

send(int, Class, String, String, Class[], Object[]) - Method in class tw.net.ocs.OCSClient
Sends a proxy's request to the server
Server - Class in tw.net
Abstract multithreaded server
setAdminPassword(String) - Method in class tw.net.ocs.OCSClient
Sets a password used to authorize the client for administrative functions.
setAsStandardInstance() - Method in class tw.net.ocs.OCSClient
Makes this instance the new standard.
setDaemon(boolean) - Method in interface tw.net.ocs.OCSServerAdminInterface
 
setDaemon(boolean) - Method in class tw.net.Server
Sets the main server thread's daemon quality
setEncryptionKey(String) - Method in class tw.net.ocs.OCSClient
Sets the key for encrypted data transmission.
setEncryptionKey(String) - Method in class tw.net.ocs.OCSServer
Sets the key for encrypted data transmission.
setEncryptionKey(String) - Method in interface tw.net.ocs.OCSServerAdminInterface
Sets the key for encrypted data transmission.
setLogfile(String) - Method in class tw.net.ocs.OCSServer
Sets a file to receive log messages.
setPriority(int) - Method in interface tw.net.ocs.OCSServerAdminInterface
 
setPriority(int) - Method in class tw.net.Server
Sets the main server thread's priority
setUserPassword(String) - Method in class tw.net.ocs.OCSClient
Sets a password used to authorize the client for normal user operations.
setVerbose(boolean) - Method in class tw.net.ocs.OCSClient
Tells the client to print some accompanying messages to the console.
setVerbose(boolean) - Method in interface tw.net.ocs.OCSServerAdminInterface
 
setVerbose(boolean) - Method in class tw.net.Server
Tells the server to print some accompanying messages to the console.
start() - Method in class tw.net.Server
Starts the Server.

T

toString() - Method in class tw.net.ocs.OCSClient
 
toString() - Method in class tw.net.ocs.OCSServer
 
toString() - Method in interface tw.net.ocs.OCSServerAdminInterface
 
tw.net.ocs - package tw.net.ocs
 

U

UNBOUND - Static variable in class tw.net.Server
value indicating the server socket hasn't been bound to a port yet

A C D E F G H I L M O P R S T U

OCSelot @ www.ocselot.net www.ocselot.net