MCPcopy Create free account
hub / github.com/benfry/processing4 / pre

Method pre

java/libraries/serial/src/processing/serial/Serial.java:173–184  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

171
172
173 public void pre() {
174 if (serialAvailableMethod != null && invokeSerialAvailable) {
175 invokeSerialAvailable = false;
176 try {
177 serialAvailableMethod.invoke(parent, this);
178 } catch (Exception e) {
179 System.err.println("Error, disabling serialAvailable() for "+port.getPortName());
180 System.err.println(e.getLocalizedMessage());
181 serialAvailableMethod = null;
182 }
183 }
184 }
185
186
187 /**

Callers

nothing calls this directly

Calls 1

printlnMethod · 0.45

Tested by

no test coverage detected