WarningService warning = WarningService.getCurrent();
if (_pingSocket != null) {
_resinActor = new ResinActor(_resin);
warning.addHandler(new ResinWarningHandler(_resinActor));
InputStream is = _pingSocket.getInputStream();
OutputStream os = _pingSocket.getOutputStream();
ResinLink link = new ResinLink(_resinActor, is, os);