package testRMI;

//Stub class generated by rmic, do not edit.
//Contents subject to change without notice.

public final class SecondImpl_Stub extends java.rmi.server.RemoteStub implements
		Second, java.rmi.Remote {
	private static final long serialVersionUID = 2;

	private static java.lang.reflect.Method $method_getMilliSeconds_0;

	static {
		try {
			$method_getMilliSeconds_0 = Second.class.getMethod(
					"getMilliSeconds", new java.lang.Class[] {});
		} catch (java.lang.NoSuchMethodException e) {
			throw new java.lang.NoSuchMethodError(
					"stub class initialization failed");
		}
	}

	// constructors
	public SecondImpl_Stub(java.rmi.server.RemoteRef ref) {
		super(ref);
	}

	// implementation of getMilliSeconds() from the remote interface.
	public long getMilliSeconds() throws java.rmi.RemoteException {
		try {
			Object $result = ref.invoke(this, $method_getMilliSeconds_0, null,
					-7516511827429591235L);
			return ((java.lang.Long) $result).longValue();
		} catch (java.lang.RuntimeException e) {
			throw e;
		} catch (java.rmi.RemoteException e) {
			throw e;
		} catch (java.lang.Exception e) {
			throw new java.rmi.UnexpectedException(
					"undeclared checked exception", e);
		}
	}
}