Skip to content

Commit

Permalink
refactor(plc4go): remove unneeded methods
Browse files Browse the repository at this point in the history
sruehl committed Sep 1, 2022
1 parent 19f6600 commit 7ac5ab6
Showing 3 changed files with 0 additions and 9 deletions.
4 changes: 0 additions & 4 deletions plc4go/internal/cbus/SubscriptionEvent.go
Original file line number Diff line number Diff line change
@@ -40,10 +40,6 @@ func NewSubscriptionEvent(fields map[string]apiModel.PlcField, types map[string]
}
}

func (m SubscriptionEvent) GetRequest() apiModel.PlcSubscriptionRequest {
panic("implement me")
}

func (m SubscriptionEvent) GetAddress(name string) string {
return m.address[name]
}
4 changes: 0 additions & 4 deletions plc4go/internal/knxnetip/SubscriptionEvent.go
Original file line number Diff line number Diff line change
@@ -42,10 +42,6 @@ func NewSubscriptionEvent(fields map[string]apiModel.PlcField, types map[string]
}
}

func (m SubscriptionEvent) GetRequest() apiModel.PlcSubscriptionRequest {
panic("implement me")
}

// GetAddress Decode the binary data in the address according to the field requested
func (m SubscriptionEvent) GetAddress(name string) string {
rawAddress := m.addresses[name]
1 change: 0 additions & 1 deletion plc4go/pkg/api/model/plc_subscription.go
Original file line number Diff line number Diff line change
@@ -27,7 +27,6 @@ import (

type PlcSubscriptionEvent interface {
PlcResponse
GetRequest() PlcSubscriptionRequest
GetFieldNames() []string
GetResponseCode(name string) PlcResponseCode
GetAddress(name string) string

0 comments on commit 7ac5ab6

Please sign in to comment.