Restrictions of KaffePC
KaffePC now have following restrictions.
- Only support TCP/IP type streamsocket
- Can not search host name from IP address.
- Number of sockets that can create is limited to 23
- The setting of the socket-option support only about the value of time out.
- Can not communcate to localhost.
Only non-abstract classes listed below can create the instance.
- DatagramPacket
- InetAddress
- ServerSocket
- Socket
- URLEncoder
Non-abstract classes listed below issue an exception at the creation of
the instance.
- DatagramSocket
- MulticastSocket
- InetAddress class
- public String getHostName()
- return "<unknown>"
in the case of that specify IP address as hostname.
- Socket class
- public int getSoLinger()
- public boolean getTcpNoDelay()
- public void setSoLinger(boolean on, int timeout)
- public void setTcpNoDelay(boolean on)
- issue SocketException.
- ServerSocket class
- public ServerSocket(int port, int backlog)
- public ServerSocket(int port, int backlog, InetAddress bindAddr)
- backlog is always set to 1.
- HttpURLConnection class
- only support GET about request for HTTP protocol.
- don't support a proxy.
- URL class
- support only http protocol and file protocol.
- support only serial port.
- only serial port name "COM1", "COM2" and "COM3" available.
- don't support following receive parameter.
- receive framing
- receive threshold
- receive timeout
- can't specify the size of input and output buffer.
- can't handle send/receive of break character.
- can't set the flow control
- can't control the MODEM mechanism
- only support the receive event about the receive handling of
asynchronous event.
- javax.comm.CommPort class
- public void enableReceiveThreshold(int thresh)
- public void enableReceiveFraming(int framingByte)
- public void enableReceiveTimeout(int rcvTimeout)
- issue UnsupportedCommOperationException.
- public void setInputBufferSize(int size)
- public void setOutputBufferSize(int size)
- ignore the specification about the size of input and output buffer.
- javax.comm.SerialPort class
- public void setFlowControlMode(int flowcontrol)
- issue UnsupportedCommOperationException.
- javax.comm.CommPortIdentifier class
- public synchronized CommPort open(String appname, int timeout)
- the value of timeout argument is ignored.
- public void addPortOwnershipListener(CommPortOwnershipListener
listener)
- public void
removePortOwnershipListener(CommPortOwnershipListener listener)
- issue kaffe.util.NotImplemented.
- javax.comm.SerialPort class
- public abstract void sendBreak(int millis)
- public void setRcvFifoTrigger(int trigger)
- public void setDTR(boolean dtr)
- public boolean isDTR()
- public void setRTS(boolean rts)
- public boolean isRTS()
- public boolean isCTS()
- public boolean isDSR()
- public boolean isRI()
- public boolean isCD()
- public void notifyOnOutputEmpty(boolean enable)
- public void notifyOnCTS(boolean enable)
- public void notifyOnDSR(boolean enable)
- public void notifyOnRingIndicator(boolean enable)
- public void notifyOnCarrierDetect(boolean enable)
- public void notifyOnOverrunError(boolean enable)
- public void notifyOnParityError(boolean enable)
- public void notifyOnFramingError(boolean enable)
- public void notifyOnBreakInterrupt(boolean enable)
- issue kaffe.util.NotImplemented.
- java.lang.Process class
- can't invoke child process.
- java.lang.System class
- Since System.out, System.err is opened in textmode,
then it have following problems.
- translate "\n" to "\r\n" but through "\r\n".
- close the stream and due to output Ctrl-Z.
- java.lang.Class class
- allow to create the instance for the class that have private
constructer due to call newInstance().
- java.lang.Double, java.lang.Float class
- toString() return fixed length string.
- java.net.ServerSocket class
- can create multiple ServerSocket for same port.
- don't issue BindException.
- java.io.ObjectInputStream class
- issue kaffe.util.Notimpleted due to call following methods.
- public int available() throws IOException
- public String readLine() throws IOException
- public synchronized void
registerValidation(ObjectInputValidation obj, int prio) throws
NotActiveException, InvalidObjectException
- public int skipBytes(int count) throws IOException
- java.io.ObjectStreamClass class
- don't have following method.
- public long getSerialVersionUID()
- java.util.GregorianCalenar class
- issue kaffe.util.Notimpleted due to call following methods.
- public void add(int field, int amount)
- public void roll(int field, boolean up)
- java.text.BreakIterator class
- can't ensure correctly behaviour.
- java.text.ChoiceFormat class
- can't ensure correctly behaviour about following method.
- public void applyPattern(String patt)
- java.text.Collator class
- can't create instance since the locale information not exist.
- java.text.MessageFormat class
- Following methods issue kaffe.util.Notimpleted.
- public Object[] parse(String str, ParsePosition pos)
- public String toPattern()