1 23 24 31 package com.sun.enterprise.admin.server.core.channel; 32 33 import java.rmi.Remote ; 34 import java.rmi.RemoteException ; 35 import com.sun.enterprise.admin.event.AdminEvent; 36 import com.sun.enterprise.admin.event.AdminEventResult; 37 38 41 public interface RemoteAdminChannel extends Remote { 42 43 48 53 public AdminEventResult sendNotification(byte[] key, AdminEvent event) 54 throws RemoteException ; 55 56 59 public boolean pingServer(byte[] key) throws RemoteException ; 60 61 71 public int getServerStatusCode(byte[] key) throws RemoteException ; 72 73 82 public boolean isRestartNeeded(byte[] key) throws RemoteException ; 83 84 90 public void setRestartNeeded(byte[] key, boolean needRestart) 91 throws RemoteException ; 92 93 99 public int getConflictedPort(byte[] key) throws RemoteException ; 100 101 106 public void triggerServerExit(byte[] key) throws RemoteException ; 107 108 } 109 | Popular Tags |