blob: f38730c376733bb9339bb5b64d23469f81050f0e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
// **********************************************************************
//
// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved.
//
// This copy of Ice is licensed to you under the terms described in the
// ICE_LICENSE file included in this distribution.
//
// **********************************************************************
package IceInternal;
public interface Transceiver
{
java.nio.channels.SelectableChannel fd();
void close();
void shutdownWrite();
void shutdownReadWrite();
//
// NOTE: In Java, write() can raise LocalExceptionWrapper to indicate that
// retrying may not be safe, which is necessary to address an issue
// in the IceSSL implementation for JDK 1.4. We can remove this if
// we ever drop support for JDK 1.4 (also see Ice.ConnectionI).
//
void write(BasicStream stream, int timeout)
throws LocalExceptionWrapper;
//
// NOTE: In Java, read() returns a boolean to indicate whether the transceiver
// has read more data than requested.
//
boolean read(BasicStream stream, int timeout);
String type();
String toString();
}
|