1 /*
2  * @(#) $Id: RMIServerImpl.java,v 1.2 2003/07/08 08:13:53 pankaj Exp $
3  *
4  * Copyright (c) 2002-03 by Pankaj Kumar (http://www.pankaj-k.net). 
5  * All rights reserved.
6  *
7  * The license governing the use of this file can be found in the 
8  * root directory of the containing software.
9  */
10package org.jstk.ssl;
11
12import java.rmi.Remote;
13import java.rmi.RemoteException;
14import java.rmi.server.*;
15
16public class RMIServerImpl extends java.rmi.server.UnicastRemoteObject
17            implements RMIServerInterface {
18
19    public RMIServerImpl() throws java.rmi.RemoteException {
20        super(0);
21    }
22
23    public RMIServerImpl(int port) throws java.rmi.RemoteException {
24        super(port);
25    }
26
27    public RMIServerImpl(int port, RMIClientSocketFactory clientFactory,
28            RMIServerSocketFactory serverFactory) throws java.rmi.RemoteException {
29        super(port, clientFactory, serverFactory);
30    }
31
32    public void writeOnly(byte[] buf){
33        // Do nothing.
34    }
35    public byte[] writeRead(byte[] buf){
36        return buf;
37    }
38}
39