ozone core API

org.ozoneDB.DxLib.net
Class DxServer

java.lang.Object
  extended byorg.ozoneDB.DxLib.DxObject
      extended byorg.ozoneDB.DxLib.net.DxClient
          extended byorg.ozoneDB.DxLib.net.DxServer
All Implemented Interfaces:
java.lang.Cloneable, DxCompatible, java.io.Serializable

public class DxServer
extends DxClient

DxServer ist eine einfache Socketverbindung an einem speziellen Port, an welche DxCompatible's gesendet bzw. empfangen werden können.

Version:
$Revision: 1.2 $Date: 2003/03/12 12:30:23 $
Author:
SMB
See Also:
Serialized Form

Field Summary
(package private)  java.net.ServerSocket server
           
 
Fields inherited from class org.ozoneDB.DxLib.net.DxClient
buffSize, in, out, sock
 
Fields inherited from class org.ozoneDB.DxLib.DxObject
 
Constructor Summary
DxServer(int port)
           
 
Method Summary
 void accept()
           
 void close()
           
 
Methods inherited from class org.ozoneDB.DxLib.net.DxClient
init, inputStream, objectAvailable, onConnect, onDeconnect, outputStream, receive, send
 
Methods inherited from class org.ozoneDB.DxLib.DxObject
clone, isLess
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.ozoneDB.DxLib.DxCompatible
equals
 

Field Detail

server

java.net.ServerSocket server
Constructor Detail

DxServer

public DxServer(int port)
         throws java.io.IOException
Method Detail

accept

public void accept()
            throws java.io.IOException
Throws:
java.io.IOException

close

public void close()
           throws java.io.IOException
Overrides:
close in class DxClient
Throws:
java.io.IOException

ozone core API

Copyright (C) The Ozone Database Project - www.ozone-db.org. All rights reserved.