Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix comments in ITransportPlugin

  • Loading branch information...
commit 30bd164d76e1d0d9d2d075ac49f8ec076e86523b 1 parent 1cfd8b5
afeng authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 src/jvm/backtype/storm/security/auth/ITransportPlugin.java
View
5 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.
Please sign in to comment.
Something went wrong with that request. Please try again.