Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍길동
/
onos
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
pankaj
2014-10-09 14:11:58 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
5364ca9783c66337a19724f8ee3abc99c8aa9011
5364ca97
1 parent
9d7e4be4
Add port as for simple-netty-server
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
apps/foo/src/main/java/org/onlab/onos/foo/SimpleNettyClientCommand.java
apps/foo/src/main/java/org/onlab/onos/foo/SimpleNettyServerCommand.java
apps/foo/src/main/java/org/onlab/onos/foo/SimpleNettyClientCommand.java
View file @
5364ca9
...
...
@@ -10,7 +10,7 @@ import org.onlab.onos.cli.AbstractShellCommand;
* Test Netty client performance.
*/
@Command
(
scope
=
"onos"
,
name
=
"simple-netty-client"
,
description
=
"Starts
the
simple Netty client"
)
description
=
"Starts simple Netty client"
)
public
class
SimpleNettyClientCommand
extends
AbstractShellCommand
{
//FIXME: replace these arguments with proper ones needed for the test.
...
...
apps/foo/src/main/java/org/onlab/onos/foo/SimpleNettyServerCommand.java
View file @
5364ca9
...
...
@@ -10,15 +10,14 @@ import org.onlab.onos.cli.AbstractShellCommand;
* Starts the Simple Netty server.
*/
@Command
(
scope
=
"onos"
,
name
=
"simple-netty-server"
,
description
=
"Starts
the simple n
etty server"
)
description
=
"Starts
simple N
etty server"
)
public
class
SimpleNettyServerCommand
extends
AbstractShellCommand
{
//FIXME: Replace these with parameters for
@Argument
(
index
=
0
,
name
=
"port"
,
description
=
"
Port to listen
"
,
@Argument
(
index
=
0
,
name
=
"port"
,
description
=
"
listen port
"
,
required
=
false
,
multiValued
=
false
)
String
port
=
"8081"
;
@Override
protected
void
execute
()
{
try
{
...
...
Please
register
or
login
to post a comment