Skip to content

Commit

Permalink
Remove eip portforwarding attachable marshaler
Browse files Browse the repository at this point in the history
Resolve ZSTAC-7977
  • Loading branch information
MatheMatrix committed Mar 22, 2018
1 parent 10d2aae commit 8c31d72
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,11 @@ public class EipPortForwardingAttachableMarshaler implements ReplyMessagePreSend
@Override
public List<Class> getReplyMessageClassForPreSendingExtensionPoint() {
List<Class> clz = new ArrayList<Class>();
clz.add(APIGetEipAttachableVmNicsReply.class);
clz.add(APIGetPortForwardingAttachableVmNicsReply.class);
return clz;
}

@Override
public void marshalReplyMessageBeforeSending(Message replyOrEvent, NeedReplyMessage msg) {
if (replyOrEvent instanceof APIGetEipAttachableVmNicsReply) {
marshal((APIGetEipAttachableVmNicsReply) replyOrEvent);
} else if (replyOrEvent instanceof APIGetPortForwardingAttachableVmNicsReply) {
marshal((APIGetPortForwardingAttachableVmNicsReply) replyOrEvent);
}
}

@Transactional(readOnly = true)
Expand Down

0 comments on commit 8c31d72

Please sign in to comment.