92 friend class Safir::Dob::Internal::Callbacks;
96 (L
"Call to ConsumerBase::ToRevokedRegistrationBase is illegal. Method must be overridden!",
100 (L
"Call to ConsumerBase::ToCompletedRegistrationBase is illegal. Method must be overridden!",
104 (L
"Call to ConsumerBase::ToEntityRequestBase is illegal. Method must be overridden!",
106 virtual EntityInjectionBase * ToEntityInjectionBase()
108 (L
"Call to ConsumerBase::ToEntityInjectionBase is illegal. Method must be overridden!",
110 virtual ServiceRequestBase * ToServiceRequestBase()
111 {
throw Dob::Typesystem::SoftwareViolationException
112 (L
"Call to ConsumerBase::ToServiceRequestBase is illegal. Method must be overridden!",
114 virtual StopHandler * ToStopHandler()
115 {
throw Dob::Typesystem::SoftwareViolationException
116 (L
"Call to ConsumerBase::ToStopHandler is illegal. Method must be overridden!",
118 virtual Dispatcher * ToDispatcher()
119 {
throw Dob::Typesystem::SoftwareViolationException
120 (L
"Call to ConsumerBase::ToDispatcher is illegal. Method must be overridden!",
122 virtual EntityHandler * ToEntityHandler()
123 {
throw Dob::Typesystem::SoftwareViolationException
124 (L
"Call to ConsumerBase::ToEntityHandler is illegal. Method must be overridden!",
126 virtual EntityHandlerInjection * ToEntityHandlerInjection()
127 {
throw Dob::Typesystem::SoftwareViolationException
128 (L
"Call to ConsumerBase::ToEntityHandlerInjection is illegal. Method must be overridden!",
130 virtual EntityHandlerPending * ToEntityHandlerPending()
131 {
throw Dob::Typesystem::SoftwareViolationException
132 (L
"Call to ConsumerBase::ToEntityHandlerPending is illegal. Method must be overridden!",
134 virtual ServiceHandler * ToServiceHandler()
135 {
throw Dob::Typesystem::SoftwareViolationException
136 (L
"Call to ConsumerBase::ToServiceHandler is illegal. Method must be overridden!",
138 virtual ServiceHandlerPending * ToServiceHandlerPending()
139 {
throw Dob::Typesystem::SoftwareViolationException
140 (L
"Call to ConsumerBase::ToServiceHandlerPending is illegal. Method must be overridden!",
142 virtual Requestor * ToRequestor()
143 {
throw Dob::Typesystem::SoftwareViolationException
144 (L
"Call to ConsumerBase::ToRequestor is illegal. Method must be overridden!",
146 virtual MessageSender * ToMessageSender()
147 {
throw Dob::Typesystem::SoftwareViolationException
148 (L
"Call to ConsumerBase::ToMessageSender is illegal. Method must be overridden!",
150 virtual RegistrationSubscriber * ToRegistrationSubscriber()
151 {
throw Dob::Typesystem::SoftwareViolationException
152 (L
"Call to ConsumerBase::ToRegistrationSubscriber is illegal. Method must be overridden!",
154 virtual MessageSubscriber * ToMessageSubscriber()
155 {
throw Dob::Typesystem::SoftwareViolationException
156 (L
"Call to ConsumerBase::ToMessageSubscriber is illegal. Method must be overridden!",
158 virtual EntitySubscriber * ToEntitySubscriber()
159 {
throw Dob::Typesystem::SoftwareViolationException
160 (L
"Call to ConsumerBase::ToEntitySubscriber is illegal. Method must be overridden!",
165 static RevokedRegistrationBase * ToRevokedRegistrationBase(
void * consumerBase)
166 {
return static_cast<ConsumerBase*
>(consumerBase)->ToRevokedRegistrationBase();}
167 static CompletedRegistrationBase * ToCompletedRegistrationBase(
void * consumerBase)
168 {
return static_cast<ConsumerBase*
>(consumerBase)->ToCompletedRegistrationBase();}
169 static EntityRequestBase * ToEntityRequestBase(
void * consumerBase)
170 {
return static_cast<ConsumerBase*
>(consumerBase)->ToEntityRequestBase();}
171 static EntityInjectionBase * ToEntityInjectionBase(
void * consumerBase)
172 {
return static_cast<ConsumerBase*
>(consumerBase)->ToEntityInjectionBase();}
173 static ServiceRequestBase * ToServiceRequestBase(
void * consumerBase)
174 {
return static_cast<ConsumerBase*
>(consumerBase)->ToServiceRequestBase();}
175 static StopHandler * ToStopHandler(
void * consumerBase)
176 {
return static_cast<ConsumerBase*
>(consumerBase)->ToStopHandler();}
177 static Dispatcher * ToDispatcher(
void * consumerBase)
178 {
return static_cast<ConsumerBase*
>(consumerBase)->ToDispatcher();}
179 static EntityHandler * ToEntityHandler(
void * consumerBase)
180 {
return static_cast<ConsumerBase*
>(consumerBase)->ToEntityHandler();}
181 static EntityHandlerInjection * ToEntityHandlerInjection(
void * consumerBase)
182 {
return static_cast<ConsumerBase*
>(consumerBase)->ToEntityHandlerInjection();}
183 static EntityHandlerPending * ToEntityHandlerPending(
void * consumerBase)
184 {
return static_cast<ConsumerBase*
>(consumerBase)->ToEntityHandlerPending();}
185 static ServiceHandler * ToServiceHandler(
void * consumerBase)
186 {
return static_cast<ConsumerBase*
>(consumerBase)->ToServiceHandler();}
187 static ServiceHandlerPending * ToServiceHandlerPending(
void * consumerBase)
188 {
return static_cast<ConsumerBase*
>(consumerBase)->ToServiceHandlerPending();}
189 static Requestor * ToRequestor(
void * consumerBase)
190 {
return static_cast<ConsumerBase*
>(consumerBase)->ToRequestor();}
191 static MessageSender * ToMessageSender(
void * consumerBase)
192 {
return static_cast<ConsumerBase*
>(consumerBase)->ToMessageSender();}
193 static RegistrationSubscriber * ToRegistrationSubscriber(
void * consumerBase)
194 {
return static_cast<ConsumerBase*
>(consumerBase)->ToRegistrationSubscriber();}
195 static MessageSubscriber * ToMessageSubscriber(
void * consumerBase)
196 {
return static_cast<ConsumerBase*
>(consumerBase)->ToMessageSubscriber();}
197 static EntitySubscriber * ToEntitySubscriber(
void * consumerBase)
198 {
return static_cast<ConsumerBase*
>(consumerBase)->ToEntitySubscriber();}