Code example for BluetoothServerSocket

Methods: close

0
 
	@Override 
	public void onTerminate() 
	{ 
		try { 
			this.mBluetoothServerSocket.close(); // TODO Put to SocketUtils
		} catch (final IOException e) {
			SpiG.log(e);
		} 
		this.getServerListener().onTerminated(this);
	} 
 
	@Override 
	protected void onException(final Throwable pThrowable)
	{ 
		this.getServerListener().onException(this, pThrowable);
	} 
 
	public static interface IBluetoothSocketServerListener<CC extends ClientConnector<BluetoothSocketConnection>> extends IServerListener<BluetoothSocketServer<CC>> 
	{