Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
A
B
C
D
E
F
G
H
I
M
N
O
P
R
S
T
U
W
_
A
action(InputStream, OutputStream)
- Method in class org.hebe.mps.
Thunk
Invokes the implementation-method.
address
- Variable in class org.hebe.mps.
Server
Address of the interface our server socket is bound to
allServers
- Static variable in class org.hebe.mps.
Server
Map used to associate an MPSIDL interface instance with an instance of class Server.
B
bind(String, String, boolean)
- Method in class org.hebe.mps.
NamingServiceImpl
Implement the naming-service name binding function.
boundName
- Variable in class org.hebe.mps.
Server
Machine-readable address of this object
buffer
- Variable in class org.hebe.mps.
OutputStream
C
close()
- Method in class org.hebe.mps.
Connection
Closes the connection to the remote server.
connection
- Variable in class org.hebe.mps.
Connection
Socket that connects us to the remote server
connection
- Variable in class org.hebe.mps.
InputStream
connection
- Variable in class org.hebe.mps.
OutputStream
Connection
- class org.hebe.mps.
Connection
.
Manages client-side connections to an MPS server.
Connection(String)
- Constructor for class org.hebe.mps.
Connection
Creates a fresh Connection given the resolved name of a remote object to connect to.
D
dispatch(int, InputStream, OutputStream)
- Method in class org.hebe.mps.
Server
Dispatches to a method on this MPS interface server.
E
enumerate()
- Method in class org.hebe.mps.
NamingServiceImpl
Get a list of all the name-value pairs in the current running database.
F
flush()
- Method in class org.hebe.mps.
OutputStream
Sends the total accumulated buffer of bytes over the connection.
G
getBoundName()
- Method in class org.hebe.mps.
Server
Return the canonical name of this server.
getInputStream()
- Method in class org.hebe.mps.
Connection
Allows clients access to the input (server-to-client) facilities of the socket connected to the remote server.
getInputStream()
- Method in class org.hebe.mps.
Proxy
Returns a handle on this proxy's input stream for communication from the server.
getMultiThreaded()
- Method in class org.hebe.mps.
Server
Returns true if this server is running multithreaded.
getOid()
- Method in class org.hebe.mps.
Connection
Returns the OID of the remote object.
getOutputStream()
- Method in class org.hebe.mps.
Connection
Allows clients access to the output (client-to-server) facilities of the socket connected to the remote server.
getOutputStream()
- Method in class org.hebe.mps.
Proxy
Returns a handle on this proxy's output stream for communication with the server.
getReference()
- Method in class org.hebe.mps.
Proxy
Retrieve the canonical name of the server this proxy is connected to.
getResolvedName()
- Method in class org.hebe.mps.
Connection
Allows clients to inspect the canonical name for the server we are connected to.
H
hostname
- Variable in class org.hebe.mps.
Connection
Hostname of the remote server - taken from resolvedName
I
input
- Variable in class org.hebe.mps.
InputStream
InputStream
- class org.hebe.mps.
InputStream
.
Structures the bitstream coming from an MPS server into usable MPS primitive types (mapped onto Java types, of course).
InputStream(Connection)
- Constructor for class org.hebe.mps.
InputStream
Construct an InputStream which decodes the bits coming from a Connection object.
InputStream(InputStream)
- Constructor for class org.hebe.mps.
InputStream
Construct an InputStream which decodes bits from an arbitrary inputstream.
M
main(String[])
- Static method in class org.hebe.mps.
NamingServiceImpl
Main method for the standalone naming server.
method
- Variable in class org.hebe.mps.
Connection
Transport name - always "inet", for the Java implementation, currently
methodTable
- Variable in class org.hebe.mps.
Server
Look-up-table mapping method number to method implementation.
MPSConnectionClosedException
- exception org.hebe.mps.
MPSConnectionClosedException
.
Thrown when the connection to the server or client closes unexpectedly.
MPSConnectionClosedException(String)
- Constructor for class org.hebe.mps.
MPSConnectionClosedException
Construct an exception with a particular human-readable explanation of the event that caused this exception.
MPSException
- exception org.hebe.mps.
MPSException
.
Thrown when a general MPS error condition arises that is not indicated back to the client via normal call-return semantics.
MPSException(String)
- Constructor for class org.hebe.mps.
MPSException
Construct an exception with a particular human-readable explanation of the event that caused this exception.
multiThreaded
- Variable in class org.hebe.mps.
Server
Set to true if we are to serve access to our implementation object in a multithreaded way; set to false to serialize all accesses
N
names
- Variable in class org.hebe.mps.
NamingServiceImpl
This class uses a naive hashtable-lookup to map objectNames onto resolvedNames (aka canonical names).
NamingServiceImpl
- class org.hebe.mps.
NamingServiceImpl
.
Implementation class for the MPS Server Interface defined in ../namingservice.mps.
NamingServiceImpl()
- Constructor for class org.hebe.mps.
NamingServiceImpl
O
objectName
- Variable in class org.hebe.mps.
Server
Human-readable name for this object
oid
- Variable in class org.hebe.mps.
Connection
OID (Object ID) of the remote server - taken from resolvedName
open()
- Method in class org.hebe.mps.
Connection
Opens the connection to the remote server.
open()
- Method in class org.hebe.mps.
InputStream
Causes the connection to the server to open, if it isn't already open.
open()
- Method in class org.hebe.mps.
OutputStream
Causes the connection to the server to open, if it isn't already open.
org.hebe.mps
- package org.hebe.mps
output
- Variable in class org.hebe.mps.
OutputStream
OutputStream
- class org.hebe.mps.
OutputStream
.
Flattens the bitstream going to an MPS server from MPS primitive types.
OutputStream(Connection)
- Constructor for class org.hebe.mps.
OutputStream
Construct an OutputStream which encodes the bits going to a Connection object.
OutputStream(OutputStream)
- Constructor for class org.hebe.mps.
OutputStream
Construct an OutputStream which sends bits to an arbitrary inputstream.
P
parseResolvedName()
- Method in class org.hebe.mps.
Connection
Splits up the resolvedName of this object into its components.
portnumber
- Variable in class org.hebe.mps.
Connection
Port number of the remote server - taken from resolvedName
portNumber
- Variable in class org.hebe.mps.
Server
TCP Port number we're listening on
Proxy
- class org.hebe.mps.
Proxy
.
This is the base class of all client-side MPS object handles.
Proxy(String)
- Constructor for class org.hebe.mps.
Proxy
Only invoked by subclass constructors.
R
read()
- Method in class org.hebe.mps.
InputStream
Reads a single byte from the server.
readbool()
- Method in class org.hebe.mps.
InputStream
Reads a single
boolean
from the server.
readchar()
- Method in class org.hebe.mps.
InputStream
Reads a single
char
from the server.
readfloat()
- Method in class org.hebe.mps.
InputStream
Reads a single
float
from the server.
readint()
- Method in class org.hebe.mps.
InputStream
Reads a single
int
from the server.
readlong()
- Method in class org.hebe.mps.
InputStream
Reads a single 64-bit
long
from the server.
readReference()
- Method in class org.hebe.mps.
InputStream
Reads the canonical (bound) name of an MPS object from the remote end of the link.
readstring()
- Method in class org.hebe.mps.
InputStream
Reads a single
java.lang.String
from the server.
registerMethod(int, String, Thunk)
- Method in class org.hebe.mps.
Server
Register a method-handler with the server.
registerServer(Object, Server)
- Static method in class org.hebe.mps.
Server
Registers an instance of Server against the MPSIDL interface object that it is serving.
resetBuffer()
- Method in class org.hebe.mps.
OutputStream
Resets our internal buffer to empty.
resolve(String)
- Method in class org.hebe.mps.
NamingServiceImpl
Implement the naming-service resolution function.
resolvedName
- Variable in class org.hebe.mps.
Connection
mps:inet:
:
:
- server's canonical (bound) name
run()
- Method in class org.hebe.mps.
Server
The main body of the server thread.
run()
- Method in class org.hebe.mps.
Server.ConnectionThread
The main body of the thread.
S
server
- Variable in class org.hebe.mps.
Server.ConnectionThread
Server we are acting on behalf of
Server
- class org.hebe.mps.
Server
.
Implements all the code needed to get an implementation of an MPS interface running as an MPS server.
Server.ConnectionThread
- class org.hebe.mps.
Server.ConnectionThread
.
This class implements the body of the thread that is run for each client that connects to an MPS interface server.
Server.ConnectionThread(Server, Socket, Server)
- Constructor for class org.hebe.mps.
Server.ConnectionThread
Server(String)
- Constructor for class org.hebe.mps.
Server
Create a new server named objectName.
Server(String, InetAddress, int)
- Constructor for class org.hebe.mps.
Server
Create a new server named objectName.
Server(String, int)
- Constructor for class org.hebe.mps.
Server
Create a new server named objectName.
serverFor(Object)
- Static method in class org.hebe.mps.
Server
Retrieve the Server associated with a particular MPSIDL interface instance.
serverSocket
- Variable in class org.hebe.mps.
Server
Server socket that clients connect to us on.
setMultiThreaded(boolean)
- Method in class org.hebe.mps.
Server
Determines whether multiple threads (one thread per client connection, remember) may access methods on the implementation object simultaneously.
setup()
- Method in class org.hebe.mps.
Server
Creates and starts the thread, once all the instance variables have been set up.
setup(String, InetAddress, int)
- Method in class org.hebe.mps.
Server
Performs all the steps needed to get the server started.
setupBuffer()
- Method in class org.hebe.mps.
OutputStream
Creates and initialises a fresh StringBuffer in member variable buffer.
sock
- Variable in class org.hebe.mps.
Server.ConnectionThread
Socket that connects us to our client
T
Thunk
- class org.hebe.mps.
Thunk
.
This class is used to glue together interface implementation-methods and the Server dispatch code.
Thunk()
- Constructor for class org.hebe.mps.
Thunk
toString()
- Method in class org.hebe.mps.
Connection
Obtains a (simple) human-readable representation of this connection object.
U
unbind(String)
- Method in class org.hebe.mps.
NamingServiceImpl
Implement the naming-service name unbinding function.
usage()
- Static method in class org.hebe.mps.
NamingServiceImpl
Display a friendly application-usage message to stdout.
UserException
- exception org.hebe.mps.
UserException
.
Superclass of all exceptions throwable by MPS interface implementations.
UserException()
- Constructor for class org.hebe.mps.
UserException
Construct an exception with a particular human-readable explanation of the event that caused this exception.
W
write(int)
- Method in class org.hebe.mps.
OutputStream
Buffer up a single byte to send.
writebool(boolean)
- Method in class org.hebe.mps.
OutputStream
Writes a single
boolean
to the server.
writechar(char)
- Method in class org.hebe.mps.
OutputStream
Writes a single
char
to the server.
writefloat(float)
- Method in class org.hebe.mps.
OutputStream
Writes a single
float
to the server.
writeint(int)
- Method in class org.hebe.mps.
OutputStream
Writes a single
int
to the server.
writelong(long)
- Method in class org.hebe.mps.
OutputStream
Writes a single
long
to the server.
writeReference(Object)
- Method in class org.hebe.mps.
OutputStream
Writes a reference to an MPS object to the remote end.
writestring(String)
- Method in class org.hebe.mps.
OutputStream
Writes a single
java.lang.String
to the server.
_
_connection
- Variable in class org.hebe.mps.
Proxy
The connection to the remote object server.
_disconnect_proxy()
- Method in class org.hebe.mps.
Proxy
Disconnects this client proxy from the server.
_input
- Variable in class org.hebe.mps.
Proxy
Pipe used when receiving messages from the remote server.
_output
- Variable in class org.hebe.mps.
Proxy
Pipe used when sending messages to the remote server.
A
B
C
D
E
F
G
H
I
M
N
O
P
R
S
T
U
W
_
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES