com.sun.sgs.impl.service.data.store.net
Class DataStoreServerRemote

java.lang.Object
  extended by com.sun.sgs.impl.service.data.store.net.DataStoreServerRemote
All Implemented Interfaces:
Runnable

 class DataStoreServerRemote
extends Object
implements Runnable

The server side of an experimental network protocol, not currently used, for implementing DataStoreServer using sockets instead of RMI.


Constructor Summary
DataStoreServerRemote(DataStoreServer server, int port)
          Creates an instance for the specified server and port.
 
Method Summary
(package private)  int getLocalPort()
          Returns the local port.
 void run()
          Accepts and hands off new connections until shut down.
(package private)  void shutdown()
          Shuts down the server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataStoreServerRemote

DataStoreServerRemote(DataStoreServer server,
                      int port)
                throws IOException
Creates an instance for the specified server and port.

Throws:
IOException
Method Detail

shutdown

void shutdown()
        throws IOException
Shuts down the server.

Throws:
IOException

getLocalPort

int getLocalPort()
           throws IOException
Returns the local port.

Throws:
IOException

run

public void run()
Accepts and hands off new connections until shut down.

Specified by:
run in interface Runnable

RedDwarf, Version 0.10.1
2010-03-14 10:56:12

Copyright © 2010 The RedDwarf Authors. All rights reserved
Copyright © 2007-2010 Sun Microsystems, Inc. All rights reserved