rawSend<T extends DataObject, V extends DataResolver<T> > method
void
rawSend<T extends DataObject, V extends DataResolver<T> >(])
override
Send a DataObject packet to the address
.
Implementation
@override
void rawSend<T extends DataObject, V extends DataResolver<T>>(
T object,
Address address, [
int salt = 0,
]) {
if (_connectionState == ConnectionState.disconnected) {
return logger.warn('Cannot send data when disconnected');
}
return super.rawSend(object, address, salt);
}