public void closeRecorder() throws IOException { recording = false; closeDiskStream(); // if any // This setting of size is important. Its passed to ReplayInputStream // on creation. It uses it to know EOS. if (this.size == 0) { this.size = this.position; } }
public void closeRecorder() throws IOException { recording = false; closeDiskStream(); // if any // This setting of size is important. Its passed to ReplayInputStream // on creation. It uses it to know EOS. if (this.size == 0) { this.size = this.position; } }
public void closeRecorder() throws IOException { recording = false; closeDiskStream(); // if any // This setting of size is important. Its passed to ReplayInputStream // on creation. It uses it to know EOS. if (this.size == 0) { this.size = this.position; } }
public void clearForReuse() throws IOException { this.out = null; this.position = 0; this.markPosition = 0; this.maxPosition = 0; this.size = 0; this.messageBodyBeginMark = -1; // ensure recording turned on this.recording = true; // Always begins false; must use startDigest() to begin this.shouldDigest = false; if (this.diskStream != null) { closeDiskStream(); } } }
public void clearForReuse() throws IOException { this.out = null; this.position = 0; this.markPosition = 0; this.maxPosition = 0; this.size = 0; this.messageBodyBeginMark = -1; // ensure recording turned on this.recording = true; // Always begins false; must use startDigest() to begin this.shouldDigest = false; if (this.diskStream != null) { closeDiskStream(); } } }
public void clearForReuse() throws IOException { this.out = null; this.position = 0; this.markPosition = 0; this.maxPosition = 0; this.size = 0; this.messageBodyBeginMark = -1; // ensure recording turned on this.recording = true; // Always begins false; must use startDigest() to begin this.shouldDigest = false; if (this.diskStream != null) { closeDiskStream(); } } }