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
Yuta HIGUCHI
2014-10-31 20:21:15 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6c6fb9c65d98fe50c41fa77f1b2f9eae08b663bf
6c6fb9c6
1 parent
d26354db
deactivate NettyMessagingService
Change-Id: I59a437908570c9acc2776c2b0deedb869cf953e2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
core/store/dist/src/main/java/org/onlab/onos/store/cluster/messaging/impl/ClusterCommunicationManager.java
core/store/dist/src/main/java/org/onlab/onos/store/cluster/messaging/impl/ClusterCommunicationManager.java
View file @
6c6fb9c
...
...
@@ -85,7 +85,6 @@ public class ClusterCommunicationManager
try
{
netty
.
activate
();
}
catch
(
Exception
e
)
{
// TODO Auto-generated catch block
log
.
error
(
"NettyMessagingService#activate"
,
e
);
}
messagingService
=
netty
;
...
...
@@ -95,6 +94,12 @@ public class ClusterCommunicationManager
@Deactivate
public
void
deactivate
()
{
// TODO: cleanup messageingService if needed.
// FIXME: workaround until it becomes a service.
try
{
((
NettyMessagingService
)
messagingService
).
deactivate
();
}
catch
(
Exception
e
)
{
log
.
error
(
"NettyMessagingService#deactivate"
,
e
);
}
log
.
info
(
"Stopped"
);
}
...
...
Please
register
or
login
to post a comment