Sho SHIMIZU
Committed by Gerrit Code Review

Remove "public" to follow our convention

Change-Id: Iff2ebf90d8791bfcdb724d67b2bd0da2756cf5ce
......@@ -30,81 +30,81 @@ public interface PcepClient {
*
* @param msg the message to write
*/
public void sendMessage(PcepMessage msg);
void sendMessage(PcepMessage msg);
/**
* Writes the PcepMessage list to the driver.
*
* @param msgs the messages to be written
*/
public void sendMessage(List<PcepMessage> msgs);
void sendMessage(List<PcepMessage> msgs);
/**
* Handle a message from the pcc.
*
* @param fromClient the message to handle
*/
public void handleMessage(PcepMessage fromClient);
void handleMessage(PcepMessage fromClient);
/**
* Provides the factory for this PCEP version.
*
* @return PCEP version specific factory.
*/
public PcepFactory factory();
PcepFactory factory();
/**
* Gets a string version of the ID for this pcc.
*
* @return string version of the ID
*/
public String getStringId();
String getStringId();
/**
* Gets the ipAddress of the client.
*
* @return the client pccId in IPAddress format
*/
public PccId getPccId();
PccId getPccId();
/**
* Checks if the pcc is still connected.
*
* @return true if client is connected, false otherwise
*/
public boolean isConnected();
boolean isConnected();
/**
* Disconnects the pcc by closing the TCP connection. Results in a call
* to the channel handler's channelDisconnected method for cleanup.
*/
public void disconnectClient();
void disconnectClient();
/**
* Indicates if this pcc is optical.
*
* @return true if optical
*/
public boolean isOptical();
boolean isOptical();
/**
* Identifies the channel used to communicate with the pcc.
*
* @return string representation of the connection to the client
*/
public String channelId();
String channelId();
/**
* To set the status of state synchronization.
*
* @param value to set the synchronization status
*/
public void setIsSyncComplete(boolean value);
void setIsSyncComplete(boolean value);
/**
* Indicates the state synchronization status of this pcc.
*
* @return true/false if the synchronization is completed/not completed
*/
public boolean isSyncComplete();
boolean isSyncComplete();
}
......
......@@ -25,12 +25,12 @@ public interface PcepClientListener {
*
* @param pccId the id of the client that connected
*/
public void clientConnected(PccId pccId);
void clientConnected(PccId pccId);
/**
* Notify that the PCC was disconnected.
*
* @param pccId the id of the client that disconnected.
*/
public void clientDisconnected(PccId pccId);
void clientDisconnected(PccId pccId);
}
......
......@@ -27,5 +27,5 @@ public interface PcepEventListener {
* @param pccId id of the pcc
* @param msg the message
*/
public void handleMessage(PccId pccId, PcepMessage msg);
void handleMessage(PccId pccId, PcepMessage msg);
}
......
......@@ -33,7 +33,7 @@ public interface PcepAgent {
* @param pc the actual pce client object.
* @return true if added, false otherwise.
*/
public boolean addConnectedClient(PccId pccId, PcepClient pc);
boolean addConnectedClient(PccId pccId, PcepClient pc);
/**
* Checks if the activation for this pcc client is valid.
......@@ -41,7 +41,7 @@ public interface PcepAgent {
* @param pccId the id of pcc client to check
* @return true if valid, false otherwise
*/
public boolean validActivation(PccId pccId);
boolean validActivation(PccId pccId);
/**
* Clear all state in controller client maps for a pcc client that has
......@@ -50,7 +50,7 @@ public interface PcepAgent {
*
* @param pccIds the id of pcc client to remove.
*/
public void removeConnectedClient(PccId pccIds);
void removeConnectedClient(PccId pccIds);
/**
* Process a message coming from a pcc client.
......@@ -58,6 +58,6 @@ public interface PcepAgent {
* @param pccId the id of pcc client the message was received.
* @param m the message to process
*/
public void processPcepMessage(PccId pccId, PcepMessage m);
void processPcepMessage(PccId pccId, PcepMessage m);
}
......
......@@ -34,33 +34,33 @@ public interface PcepClientDriver extends PcepClient {
*
* @param agent the agent to set.
*/
public void setAgent(PcepAgent agent);
void setAgent(PcepAgent agent);
/**
* Announce to the Pcep agent that this pcc client has connected.
*
* @return true if successful, false if duplicate switch.
*/
public boolean connectClient();
boolean connectClient();
/**
* Remove this pcc client from the Pcep agent.
*/
public void removeConnectedClient();
void removeConnectedClient();
/**
* Sets the PCEP version for this pcc.
*
* @param pcepVersion the version to set.
*/
public void setPcVersion(PcepVersion pcepVersion);
void setPcVersion(PcepVersion pcepVersion);
/**
* Sets the associated Netty channel for this pcc.
*
* @param channel the Netty channel
*/
public void setChannel(Channel channel);
void setChannel(Channel channel);
/**
......@@ -68,28 +68,28 @@ public interface PcepClientDriver extends PcepClient {
*
* @param keepAliveTime the keep alive time to set.
*/
public void setPcKeepAliveTime(byte keepAliveTime);
void setPcKeepAliveTime(byte keepAliveTime);
/**
* Sets the dead time for this pcc.
*
* @param deadTime the dead timer value to set.
*/
public void setPcDeadTime(byte deadTime);
void setPcDeadTime(byte deadTime);
/**
* Sets the session id for this pcc.
*
* @param sessionId the session id value to set.
*/
public void setPcSessionId(byte sessionId);
void setPcSessionId(byte sessionId);
/**
* Sets whether the pcc is connected.
*
* @param connected whether the pcc is connected
*/
public void setConnected(boolean connected);
void setConnected(boolean connected);
/**
* Initializes the behavior.
......
......@@ -33,6 +33,6 @@ public interface PcepClientDriverFactory {
* @param pcepVersion the Pcep version in use
* @return the Pcep client representation.
*/
public PcepClientDriver getPcepClientImpl(IpAddress pccIpAddress,
PcepClientDriver getPcepClientImpl(IpAddress pccIpAddress,
PcepVersion pcepVersion);
}
......