Permalink
Browse files

fix comments in ITransportPlugin

  • Loading branch information...
1 parent 1cfd8b5 commit 30bd164d76e1d0d9d2d075ac49f8ec076e86523b @anfeng anfeng committed Feb 19, 2013
Showing with 2 additions and 3 deletions.
  1. +2 −3 src/jvm/backtype/storm/security/auth/ITransportPlugin.java
@@ -1,7 +1,6 @@
package backtype.storm.security.auth;
import java.io.IOException;
-
import org.apache.thrift7.TProcessor;
import org.apache.thrift7.server.TServer;
import org.apache.thrift7.transport.TTransport;
@@ -15,13 +14,13 @@
*/
public interface ITransportPlugin {
/**
- * Create a server for server to use
+ * Create a server associated with a given port and service handler
* @param port listening port
* @param processor service handler
* @return server to be binded
*/
public TServer getServer(int port, TProcessor processor) throws IOException, TTransportException;
-
+
/**
* Connect to the specified server via framed transport
* @param transport The underlying Thrift transport.

0 comments on commit 30bd164

Please sign in to comment.