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-07 17:33:23 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3cc190759e9570cf30294f7015d7a1769ac2b628
3cc19075
1 parent
24b2e2ae
Fix to make things serializable
Change-Id: Id6ec282d72065241f8942c2b169311de5710a6b7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
0 deletions
core/store/dist/src/main/java/org/onlab/onos/store/cluster/messaging/MessageSubject.java
core/store/dist/src/main/java/org/onlab/onos/store/device/impl/InternalDeviceEvent.java
core/store/dist/src/main/java/org/onlab/onos/store/device/impl/InternalPortEvent.java
core/store/dist/src/main/java/org/onlab/onos/store/device/impl/InternalPortStatusEvent.java
core/store/dist/src/main/java/org/onlab/onos/store/cluster/messaging/MessageSubject.java
View file @
3cc1907
...
...
@@ -45,4 +45,9 @@ public class MessageSubject {
MessageSubject
that
=
(
MessageSubject
)
obj
;
return
Objects
.
equals
(
this
.
value
,
that
.
value
);
}
// for serializer
protected
MessageSubject
()
{
this
.
value
=
""
;
}
}
...
...
core/store/dist/src/main/java/org/onlab/onos/store/device/impl/InternalDeviceEvent.java
View file @
3cc1907
...
...
@@ -35,4 +35,11 @@ public class InternalDeviceEvent {
public
Timestamped
<
DeviceDescription
>
deviceDescription
()
{
return
deviceDescription
;
}
// for serializer
protected
InternalDeviceEvent
()
{
this
.
providerId
=
null
;
this
.
deviceId
=
null
;
this
.
deviceDescription
=
null
;
}
}
...
...
core/store/dist/src/main/java/org/onlab/onos/store/device/impl/InternalPortEvent.java
View file @
3cc1907
...
...
@@ -37,4 +37,11 @@ public class InternalPortEvent {
public
Timestamped
<
List
<
PortDescription
>>
portDescriptions
()
{
return
portDescriptions
;
}
// for serializer
protected
InternalPortEvent
()
{
this
.
providerId
=
null
;
this
.
deviceId
=
null
;
this
.
portDescriptions
=
null
;
}
}
...
...
core/store/dist/src/main/java/org/onlab/onos/store/device/impl/InternalPortStatusEvent.java
View file @
3cc1907
...
...
@@ -35,4 +35,11 @@ public class InternalPortStatusEvent {
public
Timestamped
<
PortDescription
>
portDescription
()
{
return
portDescription
;
}
// for serializer
protected
InternalPortStatusEvent
()
{
this
.
providerId
=
null
;
this
.
deviceId
=
null
;
this
.
portDescription
=
null
;
}
}
...
...
Please
register
or
login
to post a comment