net.sf.dexterim.oscar.io
Class OscarChannel

java.lang.Object
  extended bynet.sf.dexterim.oscar.io.OscarChannel

public class OscarChannel
extends java.lang.Object


Field Summary
static int CLOSE_CONNECTION_CHANNEL
           
static int ERROR_CHANNEL
           
static int OPEN_CONNECTION_CHANNEL
           
static int SNAC_CHANNEL
           
 
Constructor Summary
OscarChannel()
           
 
Method Summary
 void close()
           
 void connect(java.net.InetSocketAddress address)
           
 Flap readFlap()
           
 Response readMessage()
           
 void write(byte[] data)
           
 void write(Snac snac)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OPEN_CONNECTION_CHANNEL

public static final int OPEN_CONNECTION_CHANNEL
See Also:
Constant Field Values

SNAC_CHANNEL

public static final int SNAC_CHANNEL
See Also:
Constant Field Values

ERROR_CHANNEL

public static final int ERROR_CHANNEL
See Also:
Constant Field Values

CLOSE_CONNECTION_CHANNEL

public static final int CLOSE_CONNECTION_CHANNEL
See Also:
Constant Field Values
Constructor Detail

OscarChannel

public OscarChannel()
             throws java.io.IOException
Method Detail

connect

public void connect(java.net.InetSocketAddress address)
             throws java.io.IOException
Throws:
java.io.IOException

readFlap

public Flap readFlap()
              throws java.io.IOException
Throws:
java.io.IOException

close

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

readMessage

public Response readMessage()
                     throws java.io.IOException,
                            ParserException
Throws:
java.io.IOException
ParserException

write

public void write(Snac snac)
           throws java.io.IOException
Throws:
java.io.IOException

write

public void write(byte[] data)
           throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2003-2004 Dexter IM Team. All Rights Reserved.