local.tomas.obex.transport
Class TransportBase
java.lang.Object
local.tomas.obex.transport.TransportBase
- All Implemented Interfaces:
- Transport
- Direct Known Subclasses:
- CommTransport
public abstract class TransportBase
- extends java.lang.Object
- implements Transport
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransportBase
public TransportBase()
addListener
public void addListener(TransportListener listener)
- Specified by:
addListener in interface Transport
removeListener
public void removeListener(TransportListener listener)
- Specified by:
removeListener in interface Transport
open
public final void open()
throws ObexException
- Specified by:
open in interface Transport
- Throws:
ObexException
close
public final void close()
- Specified by:
close in interface Transport
isOpen
public boolean isOpen()
openInternal
protected abstract void openInternal()
throws ObexException
- Throws:
ObexException
closeInternal
protected abstract void closeInternal()
handleDataAvailable
protected void handleDataAvailable()
throws ObexException
- Throws:
ObexException
Copyright © 2007 null. All Rights Reserved.